Query: usleep
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
USLEEP(3) 1 USLEEP(3) usleep - Delay execution in microsecondsSYNOPSISvoid usleep (int $micro_seconds)DESCRIPTIONDelays program execution for the given number of microseconds.PARAMETERSo $micro_seconds - Halt time in microseconds. A microsecond is one millionth of a second.RETURN VALUESNo value is returned.EXAMPLESExample #1 usleep(3) example <?php // Current time echo date('h:i:s') . " "; // wait for 2 seconds usleep(2000000); // back! echo date('h:i:s') . " "; ?> The above example will output: 11:13:28 11:13:30SEE ALSOsleep(3), time_nanosleep(3), time_sleep_until(3), set_time_limit(3). PHP Documentation Group USLEEP(3)
Related Man Pages |
---|
usleep(3) - centos |
usleep(3) - osf1 |
usleep(3c) - sunos |
microtime(3) - php |
sleep(3) - php |
Similar Topics in the Unix Linux Community |
---|
using usleep in c++ on diff platforms |
usleep command is not available in SunOS |