summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/sysctlbyname.c
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate redundant variable.pjd2012-12-121-6/+3
|
* While there, trim some trailing whitespace.ed2010-02-211-1/+0
|
* Add proper const keywords to sysctl(3) parameters.ed2010-02-211-12/+5
| | | | | | | | | | | | | 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.
* Fix SCM ID's.obrien2002-02-011-2/+4
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Change a variable to type size_t to suit the sysctl prototype.jb1998-03-091-2/+4
| | | | Add #include <string.h> to get prototypes.
* Have sysctlbyname() take a const first arg (the ascii string)peter1997-07-121-3/+5
|
* sysctlbyname allows acces to sysctl variables by name.phk1997-05-301-0/+33
The manpage has been sent to linquistic decontamination and will arrive when released from the quarantine Reviewed by: peter
OpenPOWER on IntegriCloud