time_nanosleep
Opis
mixed time_nanosleep ( int seconds, int nanoseconds )
Delays program execution for the given number of
seconds and nanoseconds.
Parametry
secondsMust be a positive integer.
nanosecondsMust be a positive integer less than 1 billion.
Zwracane wartości
Zwraca TRUE w przypadku sukcesu, FALSE w przypadku porażki.
If the delay was interrupted by a signal, an associative array will be returned with the components:
seconds - number of seconds remaining in the delay
nanoseconds - number of nanoseconds remaining in the delay
Przykłady
| Poprzedni | Spis treści | Następny |
| sys_getloadavg | Początek rozdziału |