Subject: Re: New read & write syscalls
To: Bill Studenmund <>
From: Chris G. Demetriou <>
List: tech-kern
Date: 06/30/1999 14:08:21
Bill Studenmund <> 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 - -
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.