|
Last change
on this file since 2227 was 2227, 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.2
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
565 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;
|
|---|
| 23 | clock_t tms_stime;
|
|---|
| 24 | clock_t tms_cutime;
|
|---|
| 25 | clock_t tms_cstime;
|
|---|
| 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.