Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Timer

Name: Anonymous 2008-02-16 7:34

Hi /prog/,

I know intermediate level Visual Basic (yes i know it's AIDS) and am learning C. I'm just wondering if there's a way to implement timer like functionality in C and if there is how to go about it.

Name: Anonymous 2008-02-16 8:07

No, in ISO C you cannot have that.
You can, however use sleep() and nanosleep() in POSIX.1(b).
(and there are other techniques, using select(), or if you are aware of the kernel running, syscall())

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List