llvm-mos-sdk
Classes | Macros | Typedefs | Functions
time.h File Reference
#include <stddef.h>
Include dependency graph for time.h:

Go to the source code of this file.

Classes

struct  timespec
 

Macros

#define CLOCK_REALTIME   ((clockid_t)0)
 

Typedefs

typedef long long time_t
 
typedef int clockid_t
 

Functions

long clock (void)
 
int clock_getres (clockid_t clock_id, struct timespec *res)
 
int clock_gettime (clockid_t clock_id, struct timespec *tp)
 
int clock_settime (clockid_t clock_id, const struct timespec *tp)
 

Macro Definition Documentation

◆ CLOCK_REALTIME

#define CLOCK_REALTIME   ((clockid_t)0)

Typedef Documentation

◆ clockid_t

typedef int clockid_t

◆ time_t

typedef long long time_t

Function Documentation

◆ clock()

long clock ( void  )

◆ clock_getres()

int clock_getres ( clockid_t  clock_id,
struct timespec res 
)

◆ clock_gettime()

int clock_gettime ( clockid_t  clock_id,
struct timespec tp 
)

◆ clock_settime()

int clock_settime ( clockid_t  clock_id,
const struct timespec tp 
)