DELAY(K) UNIX System V DELAY(K)
Name
delay - delays process execution for specified time
Syntax
int
delay(ticks)
int ticks;
Description
The delay routine uses the sleep(K) and wakeup(K) calls to
delay the current process for the specified number of clock
ticks.
Parameters
ticks is an integer that specifies the number of clock ticks
to delay.
Return Value
After the specified time, the delayed routine resumes
running. No value is returned.
Warning
delay cannot be called from an xxinit or interrupt routine.
See Also
timeout(K), sleep(K), wakeup(K)
(printed 7/6/89)