| ... | ... | @@ -4914,6 +4914,7 @@ pub fn accessZ(path: [*:0]const u8, mode: u32) AccessError!void { |
| 4914 | 4914 | switch (errno(system.access(path, mode))) { |
| 4915 | 4915 | .SUCCESS => return, |
| 4916 | 4916 | .ACCES => return error.PermissionDenied, |
| 4917 | .PERM => return error.PermissionDenied, |
| 4917 | 4918 | .ROFS => return error.ReadOnlyFileSystem, |
| 4918 | 4919 | .LOOP => return error.SymLinkLoop, |
| 4919 | 4920 | .TXTBSY => return error.FileBusy, |
| ... | ... | @@ -4999,6 +5000,7 @@ pub fn faccessatZ(dirfd: fd_t, path: [*:0]const u8, mode: u32, flags: u32) Acces |
| 4999 | 5000 | switch (errno(system.faccessat(dirfd, path, mode, flags))) { |
| 5000 | 5001 | .SUCCESS => return, |
| 5001 | 5002 | .ACCES => return error.PermissionDenied, |
| 5003 | .PERM => return error.PermissionDenied, |
| 5002 | 5004 | .ROFS => return error.ReadOnlyFileSystem, |
| 5003 | 5005 | .LOOP => return error.SymLinkLoop, |
| 5004 | 5006 | .TXTBSY => return error.FileBusy, |