Re: Improving the Unix API

Alexander Viro (viro@math.psu.edu)
Sun, 27 Jun 1999 13:51:47 -0400 (EDT)


On Sun, 27 Jun 1999, Jan-Simon Pendry wrote:

> Alexander Viro wrote:
> > Proposed API on the Linux side being
> > int chflags(name, level, oldp, newp); where level is FL_VFS for generic
> > attirbutes (fs may map them on its own set) and FL_{UFS,EXT2,...} for raw
> > flags - corresponding filesystem is free to interpret the thing as it
> > likes and should set the generic attributes in the right way.
>
> if linux introduces a different API (ie not just an extension of
> the existing bsd API) then please do *not* call it "chflags".
;-/ Yes, it makes sense.

> it took years just to get over the bsd vs. svr4 gettimeofday()
> fiasco. btw, what's the proposed API for getting the current
> attribute set?

oldp == NULL ;-)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/