fix thread leak on timer_create(SIGEV_THREAD) failure
[musl] / include / sys / times.h
1 #ifndef _SYS_TIMES_H
2 #define _SYS_TIMES_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #define __NEED_clock_t
9 #include <bits/alltypes.h>
10
11 struct tms {
12         clock_t tms_utime;
13         clock_t tms_stime;
14         clock_t tms_cutime;
15         clock_t tms_cstime;
16 };
17
18 clock_t times (struct tms *);
19
20 #ifdef __cplusplus
21 }
22 #endif
23
24 #endif
25