Line | |
---|
1 | /* The <times.h> header is for time times() system call. */
|
---|
2 |
|
---|
3 | #ifndef _TIMES_H
|
---|
4 | #define _TIMES_H
|
---|
5 |
|
---|
6 | #ifndef _CLOCK_T
|
---|
7 | #define _CLOCK_T
|
---|
8 | typedef long clock_t; /* unit for system accounting */
|
---|
9 | #endif
|
---|
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 | /* Function Prototypes. */
|
---|
19 | #ifndef _ANSI_H
|
---|
20 | #include <ansi.h>
|
---|
21 | #endif
|
---|
22 |
|
---|
23 | _PROTOTYPE( clock_t times, (struct tms *_buffer) );
|
---|
24 |
|
---|
25 | #endif /* _TIMES_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.