delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/04/05/06:27:57

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Fri, 05 Apr 2002 14:23:33 +0300
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
Message-Id: <3995-Fri05Apr2002142333+0300-eliz@is.elta.co.il>
X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9
CC: djgpp-workers AT delorie DOT com
In-reply-to: <3CAD6DD0.C64CF248@phekda.freeserve.co.uk> (message from Richard
Dawe on Fri, 05 Apr 2002 10:26:40 +0100)
Subject: Re: redirection problem with perl
References: <10204031602 DOT AA18516 AT clio DOT rice DOT edu> <3CAB3AB4 DOT 2A0D2D7E AT phekda DOT freeserve DOT co DOT uk> <1190-Fri05Apr2002112638+0300-eliz AT is DOT elta DOT co DOT il> <3CAD6DD0 DOT C64CF248 AT phekda DOT freeserve DOT co DOT uk>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Fri, 05 Apr 2002 10:26:40 +0100
> From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
> 
> If the SFT is not valid, then what flag should it return out of O_RDONLY,
> O_WRONLY, O_RDWR - should it return one? If so, I think O_RDWR would make most
> sense.

O_RDWR (with O_APPEND if __fd_properties says so) seems to be the
best alternative.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019