|
|
1.1 ! root 1: /* (-lgl ! 2: * COHERENT Version 4.0 ! 3: * Copyright (c) 1982, 1992 by Mark Williams Company. ! 4: * All rights reserved. May not be copied without permission. ! 5: -lgl) */ ! 6: /* ! 7: * Structure returned by the `times' system call. ! 8: */ ! 9: ! 10: #ifndef __SYS_TIMES_H__ ! 11: #define __SYS_TIMES_H__ ! 12: ! 13: #include <common/feature.h> ! 14: #include <common/ccompat.h> ! 15: #include <common/_clock.h> ! 16: ! 17: #if _I386 ! 18: ! 19: struct tms { ! 20: __clock_t tms_utime; /* Process user time */ ! 21: __clock_t tms_stime; /* Process system time */ ! 22: __clock_t tms_cutime; /* Child user time */ ! 23: __clock_t tms_cstime; /* Child system time */ ! 24: }; ! 25: ! 26: __EXTERN_C_BEGIN__ ! 27: ! 28: int times __PROTO ((struct tms * _buffer)); ! 29: ! 30: __EXTERN_C_END__ ! 31: ! 32: #else /* if ! _I386 */ ! 33: ! 34: struct tbuffer { ! 35: long tb_utime; /* Process user time */ ! 36: long tb_stime; /* Process system time */ ! 37: long tb_cutime; /* Child user time */ ! 38: long tb_cstime; /* Child system time */ ! 39: }; ! 40: ! 41: #endif /* ! _I386 */ ! 42: ! 43: #endif /* ! defined (__SYS_TIMES_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.