|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Go to the source code of this file.
Data Structures | |
| struct | timespec |
| struct | itimerspec |
Macros | |
| #define | CLOCK_REALTIME ((clockid_t)SYS_CLOCK_REALTIME) |
| #define | CLOCKS_PER_SEC CONFIG_SYS_CLOCK_TICKS_PER_SEC |
| #define | CLOCK_PROCESS_CPUTIME_ID ((clockid_t)2) |
| #define | CLOCK_THREAD_CPUTIME_ID ((clockid_t)3) |
| #define | CLOCK_MONOTONIC ((clockid_t)SYS_CLOCK_MONOTONIC) |
| #define | TIMER_ABSTIME SYS_TIMER_ABSTIME |
Typedefs | |
| typedef unsigned long | clockid_t |
| typedef unsigned long | timer_t |
| typedef void * | locale_t |
| typedef int | pid_t |
Functions | |
| char * | asctime_r (const struct tm *ZRESTRICT tm, char *ZRESTRICT buf) |
| int | clock_getcpuclockid (pid_t pid, clockid_t *clock_id) |
| int | clock_getres (clockid_t clock_id, struct timespec *ts) |
| int | clock_gettime (clockid_t clock_id, struct timespec *ts) |
| int | clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *rqtp, struct timespec *rmtp) |
| int | clock_settime (clockid_t clock_id, const struct timespec *ts) |
| char * | ctime_r (const time_t *clock, char *buf) |
| struct tm * | getdate (const char *string) |
| struct tm * | gmtime_r (const time_t *ZRESTRICT timer, struct tm *ZRESTRICT result) |
| struct tm * | localtime_r (const time_t *ZRESTRICT timer, struct tm *ZRESTRICT result) |
| int | nanosleep (const struct timespec *rqtp, struct timespec *rmtp) |
| size_t | strftime_l (char *ZRESTRICT s, size_t maxsize, const char *ZRESTRICT format, const struct tm *ZRESTRICT timeptr, locale_t locale) |
| char * | strptime (const char *ZRESTRICT s, const char *ZRESTRICT format, struct tm *ZRESTRICT tm) |
| int | timer_create (clockid_t clockId, struct sigevent *ZRESTRICT evp, timer_t *ZRESTRICT timerid) |
| int | timer_delete (timer_t timerid) |
| int | timer_getoverrun (timer_t timerid) |
| int | timer_gettime (timer_t timerid, struct itimerspec *its) |
| int | timer_settime (timer_t timerid, int flags, const struct itimerspec *value, struct itimerspec *ovalue) |
Variables | |
| int | daylight |
| long | timezone |
| char * | tzname [] |
| #define CLOCK_MONOTONIC ((clockid_t)SYS_CLOCK_MONOTONIC) |
| #define CLOCK_PROCESS_CPUTIME_ID ((clockid_t)2) |
| #define CLOCK_REALTIME ((clockid_t)SYS_CLOCK_REALTIME) |
| #define CLOCK_THREAD_CPUTIME_ID ((clockid_t)3) |
| #define CLOCKS_PER_SEC CONFIG_SYS_CLOCK_TICKS_PER_SEC |
| #define TIMER_ABSTIME SYS_TIMER_ABSTIME |
| typedef void* locale_t |
| typedef int pid_t |
| char * asctime_r | ( | const struct tm *ZRESTRICT | tm, |
| char *ZRESTRICT | buf ) |
| int clock_nanosleep | ( | clockid_t | clock_id, |
| int | flags, | ||
| const struct timespec * | rqtp, | ||
| struct timespec * | rmtp ) |
| char * ctime_r | ( | const time_t * | clock, |
| char * | buf ) |
| struct tm * getdate | ( | const char * | string | ) |
| size_t strftime_l | ( | char *ZRESTRICT | s, |
| size_t | maxsize, | ||
| const char *ZRESTRICT | format, | ||
| const struct tm *ZRESTRICT | timeptr, | ||
| locale_t | locale ) |
| char * strptime | ( | const char *ZRESTRICT | s, |
| const char *ZRESTRICT | format, | ||
| struct tm *ZRESTRICT | tm ) |
| int timer_delete | ( | timer_t | timerid | ) |
| int timer_getoverrun | ( | timer_t | timerid | ) |
| int timer_gettime | ( | timer_t | timerid, |
| struct itimerspec * | its ) |
| int timer_settime | ( | timer_t | timerid, |
| int | flags, | ||
| const struct itimerspec * | value, | ||
| struct itimerspec * | ovalue ) |
|
extern |
|
extern |
|
extern |