summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sysctl.3
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-12-01 02:25:19 +0000
committergreen <green@FreeBSD.org>1999-12-01 02:25:19 +0000
commitb8799773608c6c088346b7cb09851b9b556a2cb4 (patch)
treef45dd516fd1248680be943f332ff79edaaf2f01c /lib/libc/gen/sysctl.3
parente037a1e9e92edac5f41a5c944fabf729989719cd (diff)
downloadFreeBSD-src-b8799773608c6c088346b7cb09851b9b556a2cb4.zip
FreeBSD-src-b8799773608c6c088346b7cb09851b9b556a2cb4.tar.gz
Separate some common sysctl code into sysctl_find_oid() and calling
thereof. Also, make the errno returns _correct_, and add a new one which is more appropriate.
Diffstat (limited to 'lib/libc/gen/sysctl.3')
-rw-r--r--lib/libc/gen/sysctl.34
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 6e95014..098d4f2 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -704,6 +704,10 @@ is too short to hold the requested value.
The
.Fa name
array specifies an intermediate rather than terminal name.
+.It Bq Er EISDIR
+The
+.Fa name
+array specifies a terminal name, but the actual name is not terminal.
.It Bq Er EOPNOTSUPP
The
.Fa name
OpenPOWER on IntegriCloud