Subject: Re: New read & write syscalls
To: Bill Studenmund <email@example.com>
From: Chris G. Demetriou <firstname.lastname@example.org>
Date: 06/30/1999 14:08:21
Bill Studenmund <email@example.com> 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?
Chris Demetriou - firstname.lastname@example.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.