mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-26 02:20:51 +01:00
Add POSIX timer interfaces.
This commit is contained in:
parent
56c06c4b67
commit
bd3e40ce72
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151870
@ -139,7 +139,15 @@ time_t mktime(struct tm *);
|
||||
size_t strftime(char * __restrict, size_t, const char * __restrict,
|
||||
const struct tm * __restrict);
|
||||
time_t time(time_t *);
|
||||
|
||||
#if __POSIX_VISIBLE >= 200112
|
||||
struct sigevent;
|
||||
int timer_create(clockid_t, struct sigevent *__restrict, timer_t *__restrict);
|
||||
int timer_delete(timer_t);
|
||||
int timer_gettime(timer_t, struct itimerspec *);
|
||||
int timer_getoverrun(timer_t);
|
||||
int timer_settime(timer_t, int, const struct itimerspec *__restrict,
|
||||
struct itimerspec *__restrict);
|
||||
#endif
|
||||
#if __POSIX_VISIBLE
|
||||
void tzset(void);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user