Luna/libc/include/time.h

20 lines
273 B
C
Raw Normal View History

#ifndef _TIME_H
#define _TIME_H
2023-01-06 23:21:08 +00:00
#include <bits/clockid.h>
#include <bits/timespec.h>
#ifdef __cplusplus
extern "C"
{
#endif
/* Get the current value of a system clock. */
int clock_gettime(clockid_t id, struct timespec* ts);
#ifdef __cplusplus
}
#endif
#endif