times.3 (c879ae3536e6d92b8d96c8965c5b05fcb9541520) times.3 (a2944602577f0c7186206c2e1821d21f4d5befcb)
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)times.3 8.1 (Berkeley) 6/4/93
29.\" $FreeBSD$
30.\"
1.\" Copyright (c) 1990, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 14 unchanged lines hidden (view full) ---

23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" @(#)times.3 8.1 (Berkeley) 6/4/93
29.\" $FreeBSD$
30.\"
31.Dd June 4, 1993
31.Dd December 1, 2008
32.Dt TIMES 3
33.Os
34.Sh NAME
35.Nm times
36.Nd process times
37.Sh LIBRARY
38.Lb libc
39.Sh SYNOPSIS

--- 7 unchanged lines hidden (view full) ---

47and
48.Xr gettimeofday 2 .
49.Ef
50.Pp
51The
52.Fn times
53function returns the value of time in
54.Dv CLK_TCK Ns 's
32.Dt TIMES 3
33.Os
34.Sh NAME
35.Nm times
36.Nd process times
37.Sh LIBRARY
38.Lb libc
39.Sh SYNOPSIS

--- 7 unchanged lines hidden (view full) ---

47and
48.Xr gettimeofday 2 .
49.Ef
50.Pp
51The
52.Fn times
53function returns the value of time in
54.Dv CLK_TCK Ns 's
55of a second since
560 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated Universal
57Time.
55of a second since the system startup time.
56The current value of
57.Dv CLK_TCK ,
58the frequency of the statistics clock in ticks per second, may be
59obtained through the
60.Xr sysconf 3
61interface.
58.Pp
59It also fills in the structure pointed to by
60.Fa tp
61with time-accounting information.
62.Pp
63The
64.Vt tms
65structure is defined as follows:

--- 60 unchanged lines hidden (view full) ---

126.Xr getrusage 2
127and
128.Xr gettimeofday 2 .
129.Sh SEE ALSO
130.Xr time 1 ,
131.Xr getrusage 2 ,
132.Xr gettimeofday 2 ,
133.Xr wait 2 ,
62.Pp
63It also fills in the structure pointed to by
64.Fa tp
65with time-accounting information.
66.Pp
67The
68.Vt tms
69structure is defined as follows:

--- 60 unchanged lines hidden (view full) ---

130.Xr getrusage 2
131and
132.Xr gettimeofday 2 .
133.Sh SEE ALSO
134.Xr time 1 ,
135.Xr getrusage 2 ,
136.Xr gettimeofday 2 ,
137.Xr wait 2 ,
138.Xr sysconf 3 ,
134.Xr clocks 7
135.Sh STANDARDS
136The
137.Fn times
138function
139conforms to
140.St -p1003.1-88 .
139.Xr clocks 7
140.Sh STANDARDS
141The
142.Fn times
143function
144conforms to
145.St -p1003.1-88 .