summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/getitimer.2
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-07-13 23:12:02 +0000
committerschwarze <schwarze@openbsd.org>2014-07-13 23:12:02 +0000
commitec3d40168f079ed2a826da273812b01b0bdd3abe (patch)
tree6ce460cec1c08c40cf22bd13a326e65c0569678f /lib/libc/sys/getitimer.2
parentSome reallocarray() use; review Jean-Philippe Ouellet, patrick keshishian (diff)
downloadwireguard-openbsd-ec3d40168f079ed2a826da273812b01b0bdd3abe.tar.xz
wireguard-openbsd-ec3d40168f079ed2a826da273812b01b0bdd3abe.zip
one .Fn argument per function argument
Diffstat (limited to 'lib/libc/sys/getitimer.2')
-rw-r--r--lib/libc/sys/getitimer.216
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2
index a78cbe24d79..ba235c9f85c 100644
--- a/lib/libc/sys/getitimer.2
+++ b/lib/libc/sys/getitimer.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getitimer.2,v 1.25 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: getitimer.2,v 1.26 2014/07/13 23:12:02 schwarze Exp $
.\" $NetBSD: getitimer.2,v 1.6 1995/10/12 15:40:54 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getitimer.2 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: July 13 2014 $
.Dt GETITIMER 2
.Os
.Sh NAME
@@ -52,11 +52,11 @@
.Ft int
.Fn timerisset "struct timeval *"
.Ft int
-.Fn timercmp "struct timeval *a, struct timeval *b, CMP"
+.Fn timercmp "struct timeval *a" "struct timeval *b" CMP
.Ft void
-.Fn timersub "struct timeval *a, struct timeval *b, struct timeval *res"
+.Fn timersub "struct timeval *a" "struct timeval *b" "struct timeval *res"
.Ft void
-.Fn timeradd "struct timeval *a, struct timeval *b, struct timeval *res"
+.Fn timeradd "struct timeval *a" "struct timeval *b" "struct timeval *res"
.Sh DESCRIPTION
The system provides each process with three interval timers,
defined in
@@ -151,7 +151,7 @@ tests if the time value in
.Fa a
is non-zero.
.Pp
-.Fn timercmp "a, b, CMP"
+.Fn timercmp a b CMP
compares two time values in the form
.Fa a
CMP
@@ -160,7 +160,7 @@ where
.Fa CMP
is <, <=, ==, !=, >=, or > .
.Pp
-.Fn timersub "a, b, res"
+.Fn timersub a b res
subtracts
.Fa a
-
@@ -168,7 +168,7 @@ subtracts
and stores the result in
.Fa res .
.Pp
-.Fn timeradd "a, b, res"
+.Fn timeradd a b res
adds two timers and stores the result in
.Fa res .
.Sh RETURN VALUES