File:  [CSRG BSD Unix] / 43BSDReno / lib / libcompat / 4.1 / times.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

.\" Copyright (c) 1980 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)times.3	6.2 (Berkeley) 5/17/89
.\"
.TH TIMES 3C "May 17, 1989"
.UC 4
.SH NAME
times \- get process times
.SH SYNOPSIS
.nf
.B "#include <sys/types.h>
.B "#include <sys/times.h>
.PP
.B times(buffer)
.B struct tms *buffer;
.fi
.SH DESCRIPTION
.ft B
This interface is obsoleted by getrusage(2).
.br
It is available from the compatibility library, libcompat.
.ft R
.PP
.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 is 60.
.PP
This is the structure returned by
.IR times :
.PP
.nf
.so /usr/include/sys/times.h
.PP
.fi
The children times are the sum
of the children's process times and
their children's times.
.SH "SEE ALSO"
time(1), getrusage(2), wait3(2), time(3)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.