This commit is contained in:
Michael Kerrisk 2007-05-16 03:06:55 +00:00
parent ef17a8a1ae
commit 90b36dddb0
1 changed files with 9 additions and 7 deletions

View File

@ -51,17 +51,19 @@ For example, the hostname,
or the maximum number of open files.
The argument has the form
.PP
.in +0.25i
.nf
struct __sysctl_args {
int *name; /* integer vector describing variable */
int nlen; /* length of this vector */
void *oldval; /* 0 or address where to store old value */
size_t *oldlenp; /* available room for old value,
overwritten by actual size of old value */
void *newval; /* 0 or address of new value */
size_t newlen; /* size of new value */
int *name; /* integer vector describing variable */
int nlen; /* length of this vector */
void *oldval; /* 0 or address where to store old value */
size_t *oldlenp; /* available room for old value,
overwritten by actual size of old value */
void *newval; /* 0 or address of new value */
size_t newlen; /* size of new value */
};
.fi
.in
.PP
This call does a search in a tree structure, possibly resembling
a directory tree under