|
cwist
Modern C web framework with libttak runtime
|
clock_gettime(), nanosleep() and timegm() for CWIST_BAREMETAL. More...
#include <cwist/sys/platform.h>
Go to the source code of this file.
clock_gettime(), nanosleep() and timegm() for CWIST_BAREMETAL.
newlib declares these once -D_POSIX_TIMERS / -D_POSIX_MONOTONIC_CLOCK are set (see BAREMETAL_CFLAGS) but implements none of them:
Kept apart from baremetal.c so tests/test_baremetal_port.c can build it on the host with the three names renamed (-Dclock_gettime=... etc.).
Definition in file baremetal_time.c.