V4/usr/man/man2/times.2
.th TIMES II 8/5/73
.sh NAME
times \*- get process times
.sh SYNOPSIS
(times = 43.; not in assembler)
.br
.ft B
sys times; buffer
.s3
times(buffer)
.br
struct tbuffer *buffer;
.ft R
.sh DESCRIPTION
.it Times
returns time-accounting information
for the current process
and for the terminated child processes
of the current process.
All times are in 1/60 seconds.
.s3
After the call, the buffer will appear as follows:
.s3
.nf
struct tbuffer {
int proc\*_user\*_time;
int proc\*_system\*_time;
int child\*_user\*_time[2];
int child\*_system\*_time[2];
};
.s3
.fi
The children times are the sum
of the children's process times and
their children's times.
.sh "SEE ALSO"
time(I)
.sh DIAGNOSTICS
\*-
.sh BUGS
The process times should be 32 bits as well.