summaryrefslogtreecommitdiff
path: root/lib/libc/gen/sysctl.c
Commit message (Collapse)AuthorAgeFilesLines
* Make the implementation and documentation agree. Specifically:Dag-Erling Smørgrav1999-01-061-4/+8
| | | | | | | | | | - 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. Notes: svn path=/head/; revision=42353
* Minor cleanup, mostly unused vars and missing #includes.Poul-Henning Kamp1995-10-221-0/+1
| | | | Notes: svn path=/head/; revision=11659
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+177
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573