aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9/sleep.9
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1997-04-11 17:49:56 +0000
committerBruce Evans <bde@FreeBSD.org>1997-04-11 17:49:56 +0000
commit29ea3efb2459debd477096166be31157c229ae2d (patch)
tree26ff178e54657fdd5222a01b73dc698639f67d0b /share/man/man9/sleep.9
parentdba161abd482c67a93fabb6bdeb8339dd21c5f93 (diff)
downloadsrc-29ea3efb2459debd477096166be31157c229ae2d.tar.gz
src-29ea3efb2459debd477096166be31157c229ae2d.zip
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.
Notes
Notes: svn path=/head/; revision=24815
Diffstat (limited to 'share/man/man9/sleep.9')
-rw-r--r--share/man/man9/sleep.95
1 files changed, 1 insertions, 4 deletions
diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9
index 9c912f07b8c9..db7c8a5fa653 100644
--- a/share/man/man9/sleep.9
+++ b/share/man/man9/sleep.9
@@ -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