1 .\" Copyright (c) 1980 Regents of the University of California.
2 .\" All rights reserved. The Berkeley software License Agreement
3 .\" specifies the terms and conditions for redistribution.
5 .\" @(#)sleep.3 6.2 (Berkeley) 5/12/86
7 .TH SLEEP 3 "May 12, 1986"
10 sleep \- suspend execution for interval
16 unsigned int sleep(unsigned int \fIseconds\fP)
19 The current process is suspended from execution for the number
20 of seconds specified by the argument.
22 The routine is implemented by setting an alarm timer
23 and pausing until it occurs.
24 The previous state of this timer is saved and restored.
25 If the sleep time exceeds the time to the expiration of the
27 the process sleeps only until the signal would have occurred, and the
28 signal is sent 1 second later.