Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!ptsfa!hoptoad!academ!killer!jfh From: jfh@killer.UUCP (John Haugh) Newsgroups: comp.unix.wizards Subject: Re: Character special files cannot seek? (was Re: Seek on a pipe) Message-ID: <1088@killer.UUCP> Date: Fri, 3-Jul-87 13:11:55 EDT Article-I.D.: killer.1088 Posted: Fri Jul 3 13:11:55 1987 Date-Received: Sun, 5-Jul-87 01:18:51 EDT References: <7359@brl-adm.ARPA> <983@bobkat.UUCP> <5872@brl-smoke.ARPA> <1791@ttrdc.UUCP> Organization: The Unix(tm) Connection, Dallas, Texas Lines: 12 Summary: But you can lseek() on lots of character special files ... I seem to recall that you can seek on the following character special files (or your local version thereof) /dev/mem /dev/kmem /dev/rdsk/* I think the only things that leaves out are raw tapes and ttys. Did anyone not really know this? Of course you can't seek on the WONDERFUL new pseudo devices like /dev/error, /dev/prf, ad nauseum. But then, REAL programmers still use Version 6 or Version 7 ... - John (Still thinking about a .signature in the Big D).