3 ms·
Don't you mean a millisecond long sleep? I never saw a sleep function that interpreted its parameter as seconds. Edit: Well, now I know better.
by MrRage 16y ago
Don't you mean a millisecond long sleep? I never saw a sleep function that interpreted its parameter as seconds.
Edit: Well, now I know better.
- kingkilr 16y agoIt does on Linux, from `man 3 sleep`: http://paste.pocoo.org/show/229678/ http://paste.pocoo.org/show/229678/
- timf 16y agoThis is what I was going on, I checked that man page, incredulously...
- dmm 16y agoBoth the POSIX sleep() program and the sleep(unsigned int seconds) function in unistd.h interpret the argument as seconds.