mirror of
https://github.com/ziglang/zig.git
synced 2026-01-02 11:33:21 +00:00
std.os.freebsd.copy_file_range: add missing error.Unexpected
This commit is contained in:
parent
81b0c99915
commit
d345a10054
@ -4,7 +4,7 @@ const off_t = std.c.off_t;
|
||||
const unexpectedErrno = std.posix.unexpectedErrno;
|
||||
const errno = std.posix.errno;
|
||||
|
||||
pub const CopyFileRangeError = error{
|
||||
pub const CopyFileRangeError = std.posix.UnexpectedError || error{
|
||||
/// If infd is not open for reading or outfd is not open for writing, or
|
||||
/// opened for writing with O_APPEND, or if infd and outfd refer to the
|
||||
/// same file.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user