2.9BSD/usr/man/man2/times.2

Compare this file to the similar file:
Show the results in this format:

.TH TIMES 2 
.UC
.SH NAME
times \- get process times
.SH SYNOPSIS
.B times(buffer)
.br
.B struct tbuffer *buffer;
.SH DESCRIPTION
.I Times
returns time-accounting information
for the current process
and for the terminated child processes
of the current process.
All times are in 1/HZ seconds,
where HZ=60 in North America.
.PP
After the call, the buffer will appear as follows:
.PP
.nf
struct tbuffer {
	long	proc\_user\_time;
	long	proc\_system\_time;
	long	child\_user\_time;
	long	child\_system\_time;
};
.PP
.fi
The children times are the sum
of the children's process times and
their children's times.
.SH ERRORS
.I Times
will fail if:
.TP 20
[EFAULT]
.I Buffer
points to an address outside the process's allocated address space.
.SH "SEE ALSO"
time(1), time(2)
.SH ASSEMBLER
(times = 43.)
.br
.B sys times; buffer