Luna/libc/include/time.h
apio b70bbc0ba6
All checks were successful
continuous-integration/drone/push Build is passing
More libc commenting
2023-01-07 11:21:53 +01:00

25 lines
388 B
C

/* time.h: Time management functions. */
#ifndef _TIME_H
#define _TIME_H
#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);
/* Get the current wall clock time. */
time_t time(time_t* tp);
#ifdef __cplusplus
}
#endif
#endif