Re: How To Implement Timer in C
- From: gazelle@xxxxxxxxxxxxxxxxxxxxx (Kenny McCormack)
- Date: Wed, 28 Feb 2007 13:02:14 +0000 (UTC)
In article <54khtnF218mukU8@xxxxxxxxxxxxxxxxxx>,
Ian Collins <ian-news@xxxxxxxxxxx> wrote:
UG wrote:
I just wanted to know whether any timer facility exists in C, as it isNot in standard C, but it may be possible on your target platform, so
not mentioned in K&R 2, or in the ISO Draft. By timer function i mean
that when we use standard input function like scanf() or getch() or
any other function, the interface stops to take input from user but
what if user doesn't give input for hours, the program will still be
waiting. Is there any way to circumvent the scanf() (or any other
input function for that matter) so that it takes some default input or
no input and just proceeds to the next line of the execution assuming
input from user as nothing and acts accordingly.
try asking on a group for that environment.
IOW:
Off topic. Not portable. Cant discuss it here. Blah, blah, blah.
Useful clc-related links:
http://en.wikipedia.org/wiki/Aspergers
http://en.wikipedia.org/wiki/Clique
http://en.wikipedia.org/wiki/C_programming_language
.
- References:
- How To Implement Timer in C
- From: UG
- Re: How To Implement Timer in C
- From: Ian Collins
- How To Implement Timer in C
- Prev by Date: Re: allocating mem in a function and assigning a ptr to the first byte of that mem array...
- Next by Date: Re: how to read/write a characters stream which is either of one byte/2 byte
- Previous by thread: Re: How To Implement Timer in C
- Next by thread: Re: How To Implement Timer in C
- Index(es):
Relevant Pages
|