tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] POSIX extended API set 2



On Sun, Nov 11, 2012 at 04:19:03AM -0800, Matt Thomas wrote:
> 
> On Nov 11, 2012, at 12:39 AM, Alan Barrett wrote:
> 
> > I want the names to follow a clear and easily-documented pattern.
> > 
> > Takes a name        Takes a fd, not a name  Takes a name and an "at" fd
> >             (prepend "f")           (append "at")
> > ------------        ----------------------  ---------------------------
> > open                - (fopen is different)  openat
> > link                -                       linkat
> > unlink              -                       unlinkat
> > rename              -                       renameat
> > chdir               fchdir                  chdirat
> > mkdir               fmkdir                  mkdirat
> > mkfifo              fmkfifo                 mkfifoat
> > utimens             futimens                utimensat
> > chmod               fchmod                  chmodat (not fchmodat)
> > chown               fchown                  chownat (not fchownat)
> > stat                fstat                   statat (not fstatat)
> > access              -                       accessat (not faccessat)
> > 
> > However, I also want the inconsistent POSIX names to be provided.
> 
> Don't forget
> 
> chroot                fchroot                 chrootat 

How do these names fit into the previously reserved namespaces?
Or has that been completely ignored by the Posix folks again?

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index