Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4973 | right-hear | 1 | /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */ |
2 | #ifndef __dj_include_sys_times_h_ |
||
3 | #define __dj_include_sys_times_h_ |
||
4 | |||
5 | #ifdef __cplusplus |
||
6 | extern "C" { |
||
7 | #endif |
||
8 | |||
9 | #ifndef __dj_ENFORCE_ANSI_FREESTANDING |
||
10 | |||
11 | #ifndef __STRICT_ANSI__ |
||
12 | |||
13 | #include |
||
14 | __DJ_clock_t |
||
15 | #undef __DJ_clock_t |
||
16 | #define __DJ_clock_t |
||
17 | |||
18 | struct tms { |
||
19 | clock_t tms_utime; |
||
20 | clock_t tms_cstime; |
||
21 | clock_t tms_cutime; |
||
22 | clock_t tms_stime; |
||
23 | }; |
||
24 | |||
25 | clock_t times(struct tms *buffer); |
||
26 | |||
27 | #ifndef _POSIX_SOURCE |
||
28 | |||
29 | #endif /* !_POSIX_SOURCE */ |
||
30 | #endif /* !__STRICT_ANSI__ */ |
||
31 | #endif /* !__dj_ENFORCE_ANSI_FREESTANDING */ |
||
32 | |||
33 | #ifndef __dj_ENFORCE_FUNCTION_CALLS |
||
34 | #endif /* !__dj_ENFORCE_FUNCTION_CALLS */ |
||
35 | |||
36 | #ifdef __cplusplus |
||
37 | } |
||
38 | #endif |
||
39 | |||
40 | #endif /* !__dj_include_sys_times_h_ */ |