summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjaredy <jaredy@openbsd.org>2005-08-14 06:24:55 +0000
committerjaredy <jaredy@openbsd.org>2005-08-14 06:24:55 +0000
commitd11100520d2da9732cf57e312537217ebe9d60c3 (patch)
treed77900fb01d46af0969ddda3f522f2ed5239d57c
parentadd a standard RETURN VALUES section; ok deraadt, millert (diff)
downloadwireguard-openbsd-d11100520d2da9732cf57e312537217ebe9d60c3.tar.xz
wireguard-openbsd-d11100520d2da9732cf57e312537217ebe9d60c3.zip
document EINVAL return bad values as "which"; ok deraadt, millert
-rw-r--r--lib/libc/sys/getitimer.26
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/sys/getitimer.2 b/lib/libc/sys/getitimer.2
index 4299f3a9e2b..75ab9d72bde 100644
--- a/lib/libc/sys/getitimer.2
+++ b/lib/libc/sys/getitimer.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getitimer.2,v 1.19 2003/06/02 20:18:39 millert Exp $
+.\" $OpenBSD: getitimer.2,v 1.20 2005/08/14 06:24:55 jaredy Exp $
.\" $NetBSD: getitimer.2,v 1.6 1995/10/12 15:40:54 jtc Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -190,6 +190,10 @@ parameter specified a bad address.
A
.Fa value
parameter specified a time that was too large to be handled.
+.It Bq Er EINVAL
+An unrecognized value for
+.Fa which
+was specified.
.El
.Sh SEE ALSO
.Xr gettimeofday 2 ,