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 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 


Home | Main Index | Thread Index | Old Index