The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

sys/times.h - file access and modification times structure

 SYNOPSIS



#include <sys/times.h>

 DESCRIPTION

The <sys/times.h> header defines the structure tms, which is returned by times() and includes at least the following members:

clock_t  tms_utime  user CPU time
clock_t  tms_stime  system CPU time
clock_t  tms_cutime user CPU time of terminated child processes
clock_t  tms_cstime system CPU time of terminated child processes

The clock_t type is defined as described in <sys/types.h>.

The following is declared as a function and may also be defined as a macro. Function prototypes must be provided for use with an ISO C compiler.


clock_t times(struct tms *);

 APPLICATION USAGE

None.

 FUTURE DIRECTIONS

None.

 SEE ALSO

times(), <sys/types.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]