getchar()
Tom Christiansen
tchrist at convex.COM
Fri Mar 8 13:53:24 AEST 1991
>From the keyboard of daniel at island.COM (Daniel Smith):
: I'd rewrite it in perl, but one of the things grabchars lets you do
:is assign defaults and time out after a given number of seconds, and I
:don't see how to set a timer in perl (Larry?).
You can use the alarm() function and catch SIGALRM.
(Funny thing to find lurking in comp.lang.perl^H^H^H^Hc.)
--tom
--
I get so tired of utilities with arbitrary, undocumented,
compiled-in limits. Don't you?
Tom Christiansen tchrist at convex.com convex!tchrist
More information about the Comp.lang.c
mailing list