Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!apple!versatc!mips!prls!philabs!linus!alliant!merk!spdcc!ima!minya!jc From: jc@minya.UUCP (John Chambers) Newsgroups: comp.unix.wizards Subject: Re: shell file descriptor programming (was: Unlinked temp files) Message-ID: <133@minya.UUCP> Date: 9 May 89 19:08:08 GMT References: <871@marvin.Solbourne.COM> <1015@philmds.UUCP> <10944@bloom-beacon.MIT.EDU> Organization: (none) Lines: 15 > P.S. Don't try lseek(0, -1L, 0) from your login shell > (but you will...). You're right; I did, and as near as I can tell, it was a total no-op. Was it supposed to do something interesting and/or amusing? Does it do something on some systems? I'd expect it to just return -1, which is what it did. This is a reasonably generic Sys/V.2 system, BTW. -- John Chambers <{adelie,ima,mit-eddie}!minya!{jc,root}> (617/484-6393) [Any errors in the above are due to failures in the logic of the keyboard, not in the fingers that did the typing.]