fix thread leak on timer_create(SIGEV_THREAD) failure
[musl] / include / sys / timeb.h
1 #ifndef _SYS_TIMEB_H
2 #define _SYS_TIMEB_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6
7 #include <features.h>
8
9 #define __NEED_time_t
10
11 #include <bits/alltypes.h>
12
13 struct timeb {
14         time_t time;
15         unsigned short millitm;
16         short timezone, dstflag;
17 };
18
19 int ftime(struct timeb *);
20
21 #if _REDIR_TIME64
22 __REDIR(ftime, __ftime64);
23 #endif
24
25 #ifdef __cplusplus
26 }
27 #endif
28 #endif