Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

times.h(3HEAD)

Name

times.h, times - 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 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>.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
Standard

See Also

times(2), types.h(3HEAD), attributes(7), standards(7)