Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!clyde!cbatt!cbosgd!ihnp4!chinet!rlk From: rlk@chinet.UUCP (Richard Klappal) Newsgroups: net.unix-wizards Subject: Re: ioctl() Message-ID: <521@chinet.UUCP> Date: Tue, 26-Aug-86 23:16:40 EDT Article-I.D.: chinet.521 Posted: Tue Aug 26 23:16:40 1986 Date-Received: Wed, 27-Aug-86 20:48:05 EDT References: <118@aahus.UUCP> Reply-To: rlk@chinet.UUCP (Richard Klappal) Organization: chi-net, Public Access UN*X, Chicago IL Lines: 25 In article <118@aahus.UUCP> jorgen@aahus.UUCP (Joergen Haegg) writes: > Is there anybody who knows what the following commands > to ioctl() does. I'm trying to port software to a Xenix-compatible > computer, and need to convert these into somthing my machine understands. > FIONREAD > TIOCSLTC > TIOCGLTC ioctl(fildes,FIONREAD,arg) where arg is a pointer to a long, sets arg to be the number of immediately readable characters from fildes. It is supposed to work for files, pipes, and ttys on berzerkly systems. Sorry, can't help on the other two, my system doesn't have them (at least in the docs.) -- --- UUCP: ..!ihnp4!chinet!uklpl!rlk || MCIMail: rklappal || Compuserve: 74106,1021 ..!ihnp4!ihu1h!rlk ---