Search
lxdream.org :: lxdream/test/include/sys/times.h
lxdream 0.9.1
released Jun 29
Download Now
filename test/include/sys/times.h
changeset 185:6755a04c447f
author nkeynes
date Fri Feb 08 00:06:56 2008 +0000 (16 years ago)
permissions -rw-r--r--
last change Fix LDS/STS to FPUL/FPSCR to check the FPU disabled bit. Fixes
the linux 2.4.0-test8 kernel boot
(this wasn't exactly very well documented in the original manual)
view annotate diff log raw
     1 #ifndef	_SYS_TIMES_H
     2 #ifdef __cplusplus
     3 extern "C" {
     4 #endif
     5 #define	_SYS_TIMES_H
     7 #include <_ansi.h>
     8 #include <machine/types.h>
    10 #ifndef __clock_t_defined
    11 typedef _CLOCK_T_ clock_t;
    12 #define __clock_t_defined
    13 #endif
    15 struct tms {
    16 	clock_t	tms_utime;		/* user time */
    17 	clock_t	tms_stime;		/* system time */
    18 	clock_t	tms_cutime;		/* user time, children */
    19 	clock_t	tms_cstime;		/* system time, children */
    20 };
    22 clock_t _EXFUN(times,(struct tms *));
    24 #ifdef __cplusplus
    25 }
    26 #endif
    27 #endif	/* !_SYS_TIMES_H */
.