Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!decvax!harpo!seismo!hao!hplabs!sri-unix!edhall@rand-unix From: edhall%rand-unix@sri-unix.UUCP Newsgroups: net.unix Subject: Re: non-blocking read Message-ID: <16804@sri-arpa.UUCP> Date: Thu, 16-Feb-84 23:40:00 EST Article-I.D.: sri-arpa.16804 Posted: Thu Feb 16 23:40:00 1984 Date-Received: Mon, 20-Feb-84 01:24:56 EST Lines: 17 From: Ed_HallI just looked it up in my 4.2 source and you're absolutely right. The only thing created separately for a dup()'d file descriptor is the close-on-exec flag. I can think of occasions where sharing a single offset pointer across dup's is desirable behavior, especially in implementing the shell. But not being able to set flags on a per-descriptor basis is a loss. Perhaps the FNDELAY flag should behave the same as the close-on-exec flag. Any comments on this? Anyone for a reopen() system call? -Ed Hall edhall@rand-unix (ARPA) decvax!randvax!edhall (UUCP)