Interrupting a read
byrne%TARTAN at CMU-CS-C.ARPA
byrne%TARTAN at CMU-CS-C.ARPA
Thu Jan 5 06:29:26 AEST 1984
From: Steve <byrne%TARTAN at CMU-CS-C.ARPA>
OS: 4.2BSD
Problem:
I want to read from a terminal a certain number of
characters within a given time. If the read doesn't get
the proper number of characters within the given time
limit, I want the read to terminate, and possibly signal
some sort of error (just returning -1 as its value would be
find).
This worked in 4.1, but I can't figure out a way to make
it work under 4.2. Any clues?
steve
-------
More information about the Comp.unix
mailing list