Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add proper const keywords to sysctl(3) parameters. | ed | 2010-02-21 | 1 | -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. | tjr | 2003-01-04 | 1 | -0/+1 |
| | |||||
* | Fix SCM ID's. | obrien | 2002-02-01 | 1 | -2/+3 |
| | |||||
* | Suppress compiler warning by adding a type cast. | ru | 2001-05-17 | 1 | -4/+2 |
| | |||||
* | Add the function sysctlnametomib to libc. Details on the semantics | mckusick | 2001-01-23 | 1 | -0/+55 |
and use of this function have been added to the sysctl.3 manual page. |