home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
RISC DISC 1
/
RISC_DISC_1.iso
/
pd_share
/
code
/
unixlib
/
!UnixLib
/
src
/
unix
/
c
/
sleep
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1994-09-30
|
255 b
|
17 lines
static char sccs_id[] = "@(#) sleep.c 1.2 " __DATE__ " HJR";
/* sleep.c (c) Copyright 1990 H.Rogers */
#include <time.h>
#include <errno.h>
#include "sys/unix.h"
int
sleep (register time_t s)
{
s += time (0);
while (time (0) < s);
return (0);
}