pike.hubbe.net

[Top]
system
previoussystem.LookupAccountName() system.NetGetAnyDCName()next

Method system.nanosleep()


Method nanosleep

float system.nanosleep(int|float seconds)

Description

Call the system nanosleep() function.

This is not to be confused with the global function predef::sleep() that does more elaborate things and can sleep with better precision (although dependant on a normal functioning system clock).

Returns the remaining time to sleep (as the system function does).

See also

predef::sleep()system.sleepsystem.usleep

Note

May not be present; only exists if the function exists in the current system.


Extracted from Pike v7.3 release 11 at 2001-11-03.