Deleted Added
full compact
getitimer.2 (21907) getitimer.2 (23660)
1.\" Copyright (c) 1983, 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.

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

24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
1.\" Copyright (c) 1983, 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.

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

24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getitimer.2 8.2 (Berkeley) 12/11/93
32.\" @(#)getitimer.2 8.3 (Berkeley) 5/16/95
33.\"
33.\"
34.Dd December 11, 1993
34.Dd May 16, 1995
35.Dt GETITIMER 2
36.Os BSD 4.2
37.Sh NAME
38.Nm getitimer ,
39.Nm setitimer
40.Nd get/set value of interval timer
41.Sh SYNOPSIS
42.Fd #include <sys/time.h>

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

127.Sh NOTES
128Three macros for manipulating time values are defined in
129.Ao Pa sys/time.h Ac .
130.Fa Timerclear
131sets a time value to zero,
132.Fa timerisset
133tests if a time value is non-zero, and
134.Fa timercmp
35.Dt GETITIMER 2
36.Os BSD 4.2
37.Sh NAME
38.Nm getitimer ,
39.Nm setitimer
40.Nd get/set value of interval timer
41.Sh SYNOPSIS
42.Fd #include <sys/time.h>

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

127.Sh NOTES
128Three macros for manipulating time values are defined in
129.Ao Pa sys/time.h Ac .
130.Fa Timerclear
131sets a time value to zero,
132.Fa timerisset
133tests if a time value is non-zero, and
134.Fa timercmp
135compares two time values (beware that >= and <= do not
136work with this macro).
135compares two time values.
137.Sh RETURN VALUES
138If the calls succeed, a value of 0 is returned. If an error occurs,
139the value -1 is returned, and a more precise error code is placed
140in the global variable
141.Va errno .
142.Sh ERRORS
143.Fn Getitimer
144and

--- 23 unchanged lines hidden ---
136.Sh RETURN VALUES
137If the calls succeed, a value of 0 is returned. If an error occurs,
138the value -1 is returned, and a more precise error code is placed
139in the global variable
140.Va errno .
141.Sh ERRORS
142.Fn Getitimer
143and

--- 23 unchanged lines hidden ---