Last change
on this file was 2228, checked in by bird, 20 years ago |
Changed utimes() to allow NULL pointer parameter. Please note that BSD will crash in if you try it there.
|
-
Property cvs2svn:cvs-rev
set to
1.3
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
747 bytes
|
Line | |
---|
1 | /* sys/times.h (emx+gcc) */
|
---|
2 | /** @file
|
---|
3 | * EMX
|
---|
4 | * @changed bird: corrected prototype, added BSD type blocker and use BSD style C++ wrappers.
|
---|
5 | */
|
---|
6 |
|
---|
7 | #ifndef _SYS_TIMES_H
|
---|
8 | #define _SYS_TIMES_H
|
---|
9 |
|
---|
10 | #include <sys/cdefs.h>
|
---|
11 | #include <sys/_types.h>
|
---|
12 |
|
---|
13 | __BEGIN_DECLS
|
---|
14 | #if !defined (_CLOCK_T) && !defined(_CLOCK_T_DECLARED)
|
---|
15 | typedef __clock_t clock_t;
|
---|
16 | #define _CLOCK_T_DECLARED
|
---|
17 | #define _CLOCK_T
|
---|
18 | #endif
|
---|
19 |
|
---|
20 | struct tms
|
---|
21 | {
|
---|
22 | clock_t tms_utime; /**< User mode CPU time. */
|
---|
23 | clock_t tms_stime; /**< Kernel mode CPU time. */
|
---|
24 | clock_t tms_cutime; /**< User mode CPU time for waited for children. */
|
---|
25 | clock_t tms_cstime; /**< Kernel mode CPU time for waited for children. */
|
---|
26 | };
|
---|
27 |
|
---|
28 | clock_t times(struct tms *);
|
---|
29 | __END_DECLS
|
---|
30 |
|
---|
31 | #endif /* not _SYS_TIMES_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.