mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-27 21:44:34 +01:00
Fixed synopsis:
- don't declare nonexistent function sleep(). - don't include <sys/errno.h> explicitly. sleep() should be nuked some more, e.g., this man page should not be named after a nonexistent function.
This commit is contained in:
parent
dba161abd4
commit
29ea3efb24
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24815
@ -23,7 +23,7 @@
|
||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $Id: sleep.9,v 1.7 1997/02/22 13:26:26 peter Exp $
|
||||
.\" $Id: sleep.9,v 1.8 1997/04/09 05:39:32 mpp Exp $
|
||||
.\" "
|
||||
.Dd April 3, 1996
|
||||
.Os
|
||||
@ -37,15 +37,12 @@
|
||||
.Fd #include <sys/param.h>
|
||||
.Fd #include <sys/systm.h>
|
||||
.Fd #include <sys/proc.h>
|
||||
.Fd #include <sys/errno.h>
|
||||
.Ft int
|
||||
.Fn tsleep "void *ident" "int priority" "char *wmesg" "int timo"
|
||||
.Ft void
|
||||
.Fn wakeup "void *ident"
|
||||
.Ft void
|
||||
.Fn wakeup_one "void *ident"
|
||||
.Ft int
|
||||
.Fn sleep "void *ident" "int priority"
|
||||
.Sh DESCRIPTION
|
||||
The functions
|
||||
.Fn tsleep
|
||||
|
Loading…
Reference in New Issue
Block a user