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  tm
 
struct  timespec
 

Macros

#define CLOCK_REALTIME   ((clockid_t)0)
 

Typedefs

typedef long long time_t
 
typedef int clockid_t
 

Functions

long clock (void)
 
time_t time (time_t *timep)
 
time_t mktime (struct tm *timep)
 
struct tmgmtime (const time_t *timep)
 
struct tmlocaltime (const time_t *timep)
 
size_t strftime (char *s, size_t maxsize, const char *format, const struct tm *timep)
 
char * asctime (const struct tm *timep)
 
char * ctime (const time_t *timep)
 

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

◆ asctime()

char* asctime ( const struct tm timep)

◆ clock()

long clock ( void  )

◆ ctime()

char* ctime ( const time_t timep)

◆ gmtime()

struct tm* gmtime ( const time_t timep)

◆ localtime()

struct tm* localtime ( const time_t timep)

◆ mktime()

time_t mktime ( struct tm timep)

◆ strftime()

size_t strftime ( char *  s,
size_t  maxsize,
const char *  format,
const struct tm timep 
)

◆ time()

time_t time ( time_t timep)