aboutsummaryrefslogtreecommitdiff
path: root/lib/std/fs
diff options
context:
space:
mode:
authorLuna <git@l4.pm>2020-12-05 23:46:08 -0300
committerAndrew Kelley <andrew@ziglang.org>2020-12-07 16:40:03 -0500
commit5f7b97e84c7e2bc7682510e97996ad30147026d0 (patch)
treebe01c06e770f020dcf612b69806ef42a843cb7ed /lib/std/fs
parent5c60558796715c109ddbe12472fe5692029736b2 (diff)
downloadzig-5f7b97e84c7e2bc7682510e97996ad30147026d0.tar.gz
zig-5f7b97e84c7e2bc7682510e97996ad30147026d0.zip
add AddressFamilyNotSupported to SendError
Diffstat (limited to 'lib/std/fs')
-rw-r--r--lib/std/fs/file.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/std/fs/file.zig b/lib/std/fs/file.zig
index dc7b39eef1..e97be007ab 100644
--- a/lib/std/fs/file.zig
+++ b/lib/std/fs/file.zig
@@ -698,6 +698,7 @@ pub const File = struct {
error.FastOpenAlreadyInProgress,
error.MessageTooBig,
error.FileDescriptorNotASocket,
+ error.AddressFamilyNotSupported,
=> return self.writeFileAllUnseekable(in_file, args),
else => |e| return e,