Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
time.h File Reference
#include <stdint.h>
#include <sys/_types.h>
#include <bits/restrict.h>
#include <sys/_timespec.h>

Go to the source code of this file.

Data Structures

struct  tm
 

Typedefs

typedef _TIME_T_ time_t
 
typedef _SUSECONDS_T_ suseconds_t
 

Functions

struct tmgmtime (const time_t *timep)
 
struct tmgmtime_r (const time_t *_MLIBC_RESTRICT timep, struct tm *_MLIBC_RESTRICT result)
 
time_t time (time_t *tloc)
 

Typedef Documentation

◆ suseconds_t

typedef _SUSECONDS_T_ suseconds_t

◆ time_t

typedef _TIME_T_ time_t

Function Documentation

◆ gmtime()

struct tm * gmtime ( const time_t timep)

◆ gmtime_r()

struct tm * gmtime_r ( const time_t *_MLIBC_RESTRICT  timep,
struct tm *_MLIBC_RESTRICT  result 
)

◆ time()

time_t time ( time_t tloc)