time_nanosleep
Delay for a number of seconds and nanoseconds
&reftitle.description;
mixedtime_nanosleep
intseconds
intnanoseconds
Delays program execution for the given number of
seconds and nanoseconds.
&reftitle.parameters;
seconds
Must be a non-negative integer.
nanoseconds
Must be a non-negative integer less than 1 billion.
&reftitle.returnvalues;
&return.success;
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
&reftitle.changelog;
&Version;
&Description;
5.3.0
This function is now available on Windows platforms.
&reftitle.examples;
time_nanosleep example
]]>
&reftitle.seealso;
sleep
usleep
time_sleep_until
set_time_limit