Search
lxdream.org :: lxdream/test/include/sys/times.h :: diff
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)
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/test/include/sys/times.h Fri Feb 08 00:06:56 2008 +0000
1.3 @@ -0,0 +1,27 @@
1.4 +#ifndef _SYS_TIMES_H
1.5 +#ifdef __cplusplus
1.6 +extern "C" {
1.7 +#endif
1.8 +#define _SYS_TIMES_H
1.9 +
1.10 +#include <_ansi.h>
1.11 +#include <machine/types.h>
1.12 +
1.13 +#ifndef __clock_t_defined
1.14 +typedef _CLOCK_T_ clock_t;
1.15 +#define __clock_t_defined
1.16 +#endif
1.17 +
1.18 +struct tms {
1.19 + clock_t tms_utime; /* user time */
1.20 + clock_t tms_stime; /* system time */
1.21 + clock_t tms_cutime; /* user time, children */
1.22 + clock_t tms_cstime; /* system time, children */
1.23 +};
1.24 +
1.25 +clock_t _EXFUN(times,(struct tms *));
1.26 +
1.27 +#ifdef __cplusplus
1.28 +}
1.29 +#endif
1.30 +#endif /* !_SYS_TIMES_H */
.