Changeset 2227 for trunk/src/emx/include/sys/times.h
- Timestamp:
- Jul 7, 2005, 5:27:06 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/emx/include/sys/times.h ¶
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.2
r2226 r2227 1 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 */ 2 6 3 7 #ifndef _SYS_TIMES_H 4 8 #define _SYS_TIMES_H 5 9 6 #if defined (__cplusplus) 7 extern "C" { 8 #endif 10 #include <sys/cdefs.h> 11 #include <sys/_types.h> 9 12 10 #if !defined (_CLOCK_T) 13 __BEGIN_DECLS 14 #if !defined (_CLOCK_T) && !defined(_CLOCK_T_DECLARED) 15 typedef __clock_t clock_t; 16 #define _CLOCK_T_DECLARED 11 17 #define _CLOCK_T 12 typedef long clock_t;13 18 #endif 14 19 15 20 struct tms 16 21 { 17 clock_t tms_utime;18 clock_t tms_stime;19 clock_t tms_cutime;20 clock_t tms_cstime;22 clock_t tms_utime; 23 clock_t tms_stime; 24 clock_t tms_cutime; 25 clock_t tms_cstime; 21 26 }; 22 27 23 long times (struct tms *); 24 25 #if defined (__cplusplus) 26 } 27 #endif 28 clock_t times(struct tms *); 29 __END_DECLS 28 30 29 31 #endif /* not _SYS_TIMES_H */ -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.