summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1996-11-04 17:03:34 +0000
committerbde <bde@FreeBSD.org>1996-11-04 17:03:34 +0000
commitbc07c30e0f4961c4e1a4a2a76d16213dcac7a6c5 (patch)
tree3ed2608d224a6a16bd7788eddec8c22c92342dfc /lib
parent96c8a8c203a8bc488386658545ed9c36df277629 (diff)
downloadFreeBSD-src-bc07c30e0f4961c4e1a4a2a76d16213dcac7a6c5.zip
FreeBSD-src-bc07c30e0f4961c4e1a4a2a76d16213dcac7a6c5.tar.gz
Document that the `old' count is returned for the ENOMEM case.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/sysctl.33
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index 2f80218..b33bc44 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -76,7 +76,8 @@ The information is copied into the buffer specified by
The size of the buffer is given by the location specified by
.Fa oldlenp
before the call,
-and that location gives the amount of data copied after a successful call.
+and that location gives the amount of data copied after a successful call
+and after a call that returns with the error code ENOMEM.
If the amount of data available is greater
than the size of the buffer supplied,
the call supplies as much data as fits in the buffer provided
OpenPOWER on IntegriCloud