summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2006-09-15 20:41:44 +0000
committerotto <otto@openbsd.org>2006-09-15 20:41:44 +0000
commit03154cf7b2f4d858d80d4440adf4737f64bb9e95 (patch)
tree8f10395f110b055f77fce4c0e35d06eb5e51fa9d
parentbetter desciption of ESRCH; prompted by jmc@; ok miod@ jmc@ (diff)
downloadwireguard-openbsd-03154cf7b2f4d858d80d4440adf4737f64bb9e95.tar.xz
wireguard-openbsd-03154cf7b2f4d858d80d4440adf4737f64bb9e95.zip
sysctl(3) can return ESRCH; noted by Kristaps Johnson; ok miod@ jmc@
-rw-r--r--lib/libc/gen/sysctl.34
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index cb5455f8d3a..0fd2c0bab70 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sysctl.3,v 1.158 2006/06/02 12:43:01 jmc Exp $
+.\" $OpenBSD: sysctl.3,v 1.159 2006/09/15 20:41:44 otto Exp $
.\"
.\" Copyright (c) 1993
.\" The Regents of the University of California. All rights reserved.
@@ -2124,6 +2124,8 @@ A process without appropriate privileges attempts to set a value.
.It Bq Er EPERM
An attempt to change a value protected by the current kernel security
level is made.
+.It Bq Er ESRCH
+No process could be found which corresponds to the given process ID.
.El
.Sh SEE ALSO
.Xr pathconf 2 ,