Subject: Re: New read & write syscalls
To: Chris G. Demetriou <firstname.lastname@example.org>
From: Bill Studenmund <email@example.com>
Date: 06/30/1999 14:16:43
On 30 Jun 1999, Chris G. Demetriou wrote:
> Bill Studenmund <firstname.lastname@example.org> writes:
> > > Why would extra flags to open()/fcntl(F_[GS]ETFL,...) be the wrong
> > > thing?
> > fcntl maybe....
> Why not open as well? I mean, right now it looks like the flags
> settable with fcntl(F_SETFL,...) can all be specified at open-time as
> If the user knows they want an altnerate mode, why do they have to
> make two calls?
> > Well, since I'd be the one to pass it around, it's interesting to me. ;-)
> > This interface makes the application programmer do most all of the work.
> Is it actually much work to do it via open/fcntl flags?
Not that I see how to do it. :-)