]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make the implementation and documentation agree. Specifically:
authorDag-Erling Smørgrav <des@FreeBSD.org>
Wed, 6 Jan 1999 18:11:53 +0000 (18:11 +0000)
committerDag-Erling Smørgrav <des@FreeBSD.org>
Wed, 6 Jan 1999 18:11:53 +0000 (18:11 +0000)
commiteec1dbe6cee1fa7f9f35d0806a365d631308c56a
treefcbd064758cf68a0418ea858fb10e400a525dd82
parentfae0c289fb97d7b769e167c0e2eba9373fd8562b
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.
lib/libc/gen/sysctl.3
lib/libc/gen/sysctl.c