home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programmer 7500
/
MAX_PROGRAMMERS.iso
/
INFO
/
C
/
ROBOT02.ZIP
/
RCCL134
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
1987-03-02
|
221 b
|
15 lines
nap()
{
register struct a {
int ticks;
} *uap;
register s = spl6();
uap = (struct a *)u.u_ap;
timeout (wakeup, (caddr_t)u.u_procp+1, uap->ticks);
sleep((caddr_t)u.u_procp+1, PZERO-1);
splx(s);
}