Rev 4874 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4349 | Serge | 1 | #ifndef _SYS_TIMES_H |
2 | #ifdef __cplusplus |
||
3 | extern "C" { |
||
4 | #endif |
||
5 | #define _SYS_TIMES_H |
||
6 | |||
7 | #include <_ansi.h> |
||
8 | #include |
||
9 | |||
10 | #ifndef __clock_t_defined |
||
11 | typedef _CLOCK_T_ clock_t; |
||
12 | #define __clock_t_defined |
||
13 | #endif |
||
14 | |||
15 | /* Get Process Times, P1003.1b-1993, p. 92 */ |
||
16 | struct tms { |
||
17 | clock_t tms_utime; /* user time */ |
||
18 | clock_t tms_stime; /* system time */ |
||
19 | clock_t tms_cutime; /* user time, children */ |
||
20 | clock_t tms_cstime; /* system time, children */ |
||
21 | }; |
||
22 | |||
23 | clock_t _EXFUN(times,(struct tms *)); |
||
4921 | Serge | 24 | #ifdef _COMPILING_NEWLIB |
25 | clock_t _EXFUN(_times,(struct tms *)); |
||
26 | #endif |
||
4349 | Serge | 27 | |
28 | #ifdef __cplusplus |
||
29 | } |
||
30 | #endif |
||
31 | #endif /* !_SYS_TIMES_H */ |