sysctl.2: Add prominent warning against using this system call

This was already stated under NOTES, but make it even more
prominent by adding a sentence at the start of the DESCRIPTION.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2008-11-20 14:33:26 -05:00
parent cabf996a6b
commit 5f06e2ff26
1 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,7 @@
.\" Modified Tue Oct 22 22:28:41 1996 by Eric S. Raymond <esr@thyrsus.com>
.\" Modified Mon Jan 5 20:31:04 1998 by aeb.
.\"
.TH SYSCTL 2 2007-09-22 "Linux" "Linux Programmer's Manual"
.TH SYSCTL 2 2008-11-20 "Linux" "Linux Programmer's Manual"
.SH NAME
sysctl \- read/write system parameters
.SH SYNOPSIS
@ -37,6 +37,9 @@ sysctl \- read/write system parameters
.BI "int _sysctl(struct __sysctl_args *" args );
.fi
.SH DESCRIPTION
.B Do not use this system call!
See NOTES.
The
.BR _sysctl ()
call reads and/or writes kernel parameters.