Is unistd.h available with Linux compilers only, or is it available on Windows compilers too?
Is unistd.h available with Linux compilers only, or is it available on Windows compilers too?
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
>Is unistd.h available with Linux compilers only
Yes or no, depending on how broad your definition of Linux is.
>or is it available on Windows compilers too?
That would be nice...
My best code is written with the delete key.
>Yes or no, depending on how broad your definition of Linux is.
I meant GCC, but I guess I wasn't clear enough (at all).
>That would be nice...
Dang. I guess I'll take that as a no.
In that case, does anyone know of anything like the usleep function in unistd.h for Windows? (For those who don't know, usleep gives you microsecond-level control over sleep time).
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
>does anyone know of anything like the usleep function in unistd.h for Windows?
I believe that DJGPP supports usleep. For other compilers you'll probably have to write your own by calling something like QueryPerformanceCounter.
My best code is written with the delete key.
Ahh screw it. I'll just stick with what time.h offers me.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
>I'll just stick with what time.h offers me.
Wuss.
My best code is written with the delete key.