Message-Id: <199906072202.WAA44782@out5.ibm.net> From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Mon, 7 Jun 1999 18:03:49 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: enhancements to fcntl.c References: <199906031836 DOT SAA75560 AT out1 DOT ibm DOT net> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.11) Reply-To: djgpp-workers AT delorie DOT com > > Note that changes to the access mode (O_RDONLY, O_WRONLY, O_RDWR) > > are ignored to obey the online Unix spec. > > Yes, Posix says only O_APPEND and O_NONBLOCK can be changed. From looking over the source and the interrupt list, I don't think even O_APPEND can be set with F_SETFL since it's only used when the file is open and it isn't stored in the SFT. About the only thing I can see doing when O_APPEND is given in the argument is to seek to EOF. Mark --- Mark Elbrecht, snowball3 AT bigfoot DOT com http://snowball.frogspace.net/