*BSD News Article 16379


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!swrinde!cs.utexas.edu!uunet!mcsun!Germany.EU.net!news.Hamburg.Germany.EU.net!abqhh!encap.hanse.de!not-for-mail
From: jan@encap.hanse.de (Jan-Oliver Neumann)
Newsgroups: comp.os.386bsd.bugs
Subject: Patch: Minor error in sleep(3)-manpage.
Date: 21 May 1993 23:41:32 +0200
Organization: Hanse Networking e.V. Hamburg, Germany
Lines: 32
Message-ID: <1tjiac$3pr@encap.hanse.de>
NNTP-Posting-Host: encap.hanse.de

Hello folks,

while I was compiling INN 1.4 I discovered a little error in the
manpage of sleep(3). It says sleep(3) returns an int which is wrong.
Sleep(3) returns and unsigned int.
Here's the patch:

*** /usr/src/lib/libc/gen/sleep.3.orig	Fri May 21 12:43:08 1993
--- /usr/src/lib/libc/gen/sleep.3	Fri May 21 12:43:19 1993
***************
*** 39,45 ****
  .Nd suspend process execution for interval of seconds
  .Sh SYNOPSIS
  .Fd #include <unistd.h>
! .Ft int
  .Fn sleep "u_int seconds"
  .Sh DESCRIPTION
  The
--- 39,45 ----
  .Nd suspend process execution for interval of seconds
  .Sh SYNOPSIS
  .Fd #include <unistd.h>
! .Ft u_int
  .Fn sleep "u_int seconds"
  .Sh DESCRIPTION
  The

  Best regards,
               Jan-Oliver
-- 
Jan-Oliver Neumann                                          <jan@encap.hanse.de>
Gegen Rassismus und Extremismus ------------------- Against racism and extremism