Yes. sleep does whole (integer) seconds, whilst select takes a floating point value; and select is interruptible by signals, whilst sleep (at least on Win32) isn't.
In reply to Re: Simple question about sleep function
by BrowserUk
in thread Simple question about sleep function
by Lucas Rey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |