diff options
| author | Chris Boesch <48591413+chrboesch@users.noreply.github.com> | 2024-10-03 03:54:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-03 01:54:30 +0000 |
| commit | e22d79dacb52468e1602dfb6849c3ab96d846294 (patch) | |
| tree | 85634c9a0d1b276e9c567c9542cbdcf398e68bd3 /lib/compiler/fmt.zig | |
| parent | 8ee52f99ceab6a05b931eeb48825c00fd26ac486 (diff) | |
| download | zig-e22d79dacb52468e1602dfb6849c3ab96d846294.tar.gz zig-e22d79dacb52468e1602dfb6849c3ab96d846294.zip | |
std.posix: Added error message 'ProcessNotFound' for reading and writing in a Linux process (#21430)
* Added error message 'ProcessNotFound' for reading and writing in a Linux
process.
This error occurs if the process to be read from or written to no longer exists.
Fixes #19875
* Added error message "ProcessNotFound" for error forwarding.
* Add error messgae for forwarding.
* Added message for forwarding.
* Error set completed.
* Fixed format error.
* Changed comments to doc comments.
Diffstat (limited to 'lib/compiler/fmt.zig')
| -rw-r--r-- | lib/compiler/fmt.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/fmt.zig b/lib/compiler/fmt.zig index c747addd72..5a4f112c34 100644 --- a/lib/compiler/fmt.zig +++ b/lib/compiler/fmt.zig @@ -207,6 +207,7 @@ const FmtError = error{ LockViolation, NetNameDeleted, InvalidArgument, + ProcessNotFound, } || fs.File.OpenError; fn fmtPath(fmt: *Fmt, file_path: []const u8, check_mode: bool, dir: fs.Dir, sub_path: []const u8) FmtError!void { |
