| ... | ... | @@ -2584,9 +2584,9 @@ pub fn fstat(fd: fd_t) FStatError!Stat { |
| 2584 | 2584 | } |
| 2585 | 2585 | } |
| 2586 | 2586 | |
| 2587 | | const FStatAtError = FStatError || error{NameTooLong}; |
| 2587 | pub const FStatAtError = FStatError || error{NameTooLong, FileNotFound}; |
| 2588 | 2588 | |
| 2589 | | pub fn fstatat(dirfd: fd_t, pathname: []const u8, flags: u32) FStatAtError![]Stat { |
| 2589 | pub fn fstatat(dirfd: fd_t, pathname: []const u8, flags: u32) FStatAtError!Stat { |
| 2590 | 2590 | const pathname_c = try toPosixPath(pathname); |
| 2591 | 2591 | return fstatatZ(dirfd, &pathname_c, flags); |
| 2592 | 2592 | } |