| author | |
| committer | |
| log | a5cfa3db3aa6a9f649ef19fc6be35cf27208d06b |
| tree | 86ee1d3e3be2d0190402b2fe9b413fdc129e5f94 |
| parent | 32bf1fbf46e0f5bc27e5ce260ffa8c55ab396654 |
1 files changed, 1 insertions(+), 0 deletions(-)
lib/std/os.zig+1| ... | ... | @@ -121,6 +121,7 @@ pub fn getFdPath(fd: std.posix.fd_t, out_buffer: *[max_path_bytes]u8) std.posix. |
| 121 | 121 | .SUCCESS => {}, |
| 122 | 122 | .BADF => return error.FileNotFound, |
| 123 | 123 | .NOSPC => return error.NameTooLong, |
| 124 | .NOENT => return error.FileNotFound, | |
| 124 | 125 | // TODO man pages for fcntl on macOS don't really tell you what |
| 125 | 126 | // errno values to expect when command is F.GETPATH... |
| 126 | 127 | else => |err| return posix.unexpectedErrno(err), |