Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!linus!philabs!cmcl2!seismo!brl-tgr!tgr!jsol@bbnccv.ARPA From: jsol@bbnccv.ARPA Newsgroups: net.unix-wizards Subject: select query Message-ID: <7834@brl-tgr.ARPA> Date: Tue, 29-Jan-85 18:25:56 EST Article-I.D.: brl-tgr.7834 Posted: Tue Jan 29 18:25:56 1985 Date-Received: Sat, 2-Feb-85 23:35:25 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 41 Xref: seismo net.unix-wizards:11712 The code is: boolean io_haschar(infile) FILE *infile; { int readfds, nfound; struct timeval timeout; timeout.tv_sec = 10; timeout.tv_usec = 0; readfds = (1<