Last change
on this file since 690 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
663 bytes
|
Line | |
---|
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 <sys/_types.h> |
---|
9 | |
---|
10 | #if !defined(__clock_t_defined) && !defined(_CLOCK_T_DECLARED) |
---|
11 | typedef _CLOCK_T_ clock_t; |
---|
12 | #define __clock_t_defined |
---|
13 | #define _CLOCK_T_DECLARED |
---|
14 | #endif |
---|
15 | |
---|
16 | /* Get Process Times, P1003.1b-1993, p. 92 */ |
---|
17 | struct tms { |
---|
18 | clock_t tms_utime; /* user time */ |
---|
19 | clock_t tms_stime; /* system time */ |
---|
20 | clock_t tms_cutime; /* user time, children */ |
---|
21 | clock_t tms_cstime; /* system time, children */ |
---|
22 | }; |
---|
23 | |
---|
24 | clock_t times (struct tms *); |
---|
25 | #ifdef _COMPILING_NEWLIB |
---|
26 | clock_t _times (struct tms *); |
---|
27 | #endif |
---|
28 | |
---|
29 | #ifdef __cplusplus |
---|
30 | } |
---|
31 | #endif |
---|
32 | #endif /* !_SYS_TIMES_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.