summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sysctlnametomib.c
Commit message (Collapse)AuthorAgeFilesLines
* Add proper const keywords to sysctl(3) parameters.ed2010-02-211-3/+3
| | | | | | | | | | | | | The `name' and `newp' arguments can be marked const, because the buffers they refer to are never changed. While there, perform some other cleanups: - Remove K&R from sysctl.c. - Implement sysctlbyname() using sysctlnametomib() to prevent duplication of an undocumented kernel interface. - Fix some whitespace nits. It seems the prototypes are now in sync with NetBSD as well.
* #include <string.h> for strlen()'s prototype.tjr2003-01-041-0/+1
|
* Fix SCM ID's.obrien2002-02-011-2/+3
|
* Suppress compiler warning by adding a type cast.ru2001-05-171-4/+2
|
* Add the function sysctlnametomib to libc. Details on the semanticsmckusick2001-01-231-0/+55
and use of this function have been added to the sysctl.3 manual page.
OpenPOWER on IntegriCloud