home *** CD-ROM | disk | FTP | other *** search
- /****************************************************************************
- *
- * $Source: /usr/local/cvsroot/gccsdk/unixlib/source/clib/sys/times.h,v $
- * $Date: 2004/04/17 10:51:15 $
- * $Revision: 1.5 $
- * $State: Exp $
- * $Author: nick $
- *
- ***************************************************************************/
-
- /* POSIX Standard 4.5.2: Process Times <sys/times.h>. */
-
- #ifndef __SYS_TIMES_H
- #define __SYS_TIMES_H
-
- #ifndef __UNIXLIB_FEATURES_H
- #include <unixlib/features.h>
- #endif
-
- #define __need_clock_t
- #include <time.h>
-
- __BEGIN_DECLS
-
- /* Structure describing CPU time used by a process and its children. */
-
- struct tms
- {
- clock_t tms_utime; /* user time */
- clock_t tms_stime; /* system time */
- clock_t tms_cutime; /* user time of dead children */
- clock_t tms_cstime; /* system time of dead children */
- };
-
- /* Store the CPU time used by this process and all its dead children
- in buffer. */
- extern clock_t times (struct tms *__tmsp) __THROW;
-
- __END_DECLS
-
- #endif
-