Table of Contents

NAME

SYNOPSIS

DESCRIPTION

This interface is obsoleted by getrusage(2) and gettimeofday(3) . The function returns the value of time in of a second since 0 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated Universal Time. It also fills in the structure pointed to by with time-accounting information. The structure is defined as follows: typedef struct {    clock_t tms_utime;
   clock_t tms_stime;
   clock_t tms_cutime;
   clock_t tms_cstime;
} The elements of this structure are defined as follows: The time charged for the execution of user instructions. The time charged for execution by the system on behalf of the process. The sum of the and of the child processes. The sum of the and of the child processes. All times are in of a second. The times of a terminated child process are included in the and elements of the parent when one of the functions returns the process ID of the terminated child to the parent. If an error occurs, returns the value and sets to indicate the error.

ERRORS

The function may fail and set the global variable for any of the errors specified for the library routines and

SEE ALSO

STANDARDS

The function conforms to


Table of Contents