Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!cbmvax!hutch!rabbit1!dml From: dml@rabbit1.UUCP (David Langdon) Newsgroups: comp.sources.bugs Subject: Re: cent problems (other than register) Message-ID: <345@rabbit1.UUCP> Date: Fri, 24-Jul-87 07:53:46 EDT Article-I.D.: rabbit1.345 Posted: Fri Jul 24 07:53:46 1987 Date-Received: Sat, 25-Jul-87 17:44:15 EDT References: <24033@sun.uucp> Organization: Rabbit Software Corp., Malvern PA Lines: 28 in article <24033@sun.uucp>, guy%gorodish@Sun.COM (Guy Harris) says: > >> > I have tried to compile cent on both SysV (v3) and SCO Xenix sys V, and >> > both told me that TIOCOUTQ was undefined. How is it defined? I am sure >> > there's > >> Use TIONREAD in place of the TIOCOUTQ define. > > Not unless TIONREAD, despite its name, tells you how many characters are > buffered for output, rather than telling you how many are buffered > for input. > > Furthermore, under vanilla S5, neither TIONREAD nor TIOCOUTQ are > defined at all. > > Guy Harris > {ihnp4, decvax, seismo, decwrl, ...}!sun!guy > guy@sun.com My system has TIONREAD defined as being usable against any file descripter and can be used against input as well as output. True, it may not be available on many UN*Xes, my version (AIX - a collection of many dialects) does. -- David Langdon Rabbit Software Corp. (215) 647-0440 7 Great Valley Parkway East Malvern PA 19355 ...!ihnp4!{cbmvax,cuuxb}!hutch!dml ...!psuvax1!burdvax!hutch!dml