Date: Wed, 6 Jan 1999 10:11:54 -0800 (PST) From: "Dag-Erling C. Sm\xf8rgrav" <des@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen sysctl.3 sysctl.c Message-ID: <199901061811.KAA28023@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 1999/01/06 10:11:54 PST
Modified files:
lib/libc/gen sysctl.3 sysctl.c
Log:
Make the implementation and documentation agree. Specifically:
- document that sysctl() and sysctlbyname() return 0 on success
- if the provided buffer is too small, set errno to ENOMEM and return -1
instead of returning ENOMEM.
Revision Changes Path
1.24 +3 -2 src/lib/libc/gen/sysctl.3
1.3 +8 -4 src/lib/libc/gen/sysctl.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901061811.KAA28023>
