ReadKey like Function in C
Gregg Townsend
gmt at arizona.edu
Thu Aug 17 04:19:46 AEST 1989
The proposed ANSI standard provides
setvbuf (file, NULL, _IONBF, 0)
for setting non-buffered mode on a file. This would be the "standard"
approach to reading keys as they are hit, and this is the spec
implementors should follow when providing such a facility.
**HOWEVER**, support for control of buffering is implementation-defined,
and in fact I don't know of any system on which this works now.
Gregg Townsend / Computer Science Dept / Univ of Arizona / Tucson, AZ 85721
+1 602 621 4325 gmt at Arizona.EDU 110 57 16 W / 32 13 45 N / +758m
More information about the Comp.std.c
mailing list