Commit 774f770056

LemonBoy <thatlemon@gmail.com>
2019-09-12 12:42:59
Correct AT_FDCWD definition
1 parent cf4bccf
Changed files (1)
std
os
std/os/bits/linux.zig
@@ -24,7 +24,7 @@ pub const STDOUT_FILENO = 1;
 pub const STDERR_FILENO = 2;
 
 /// Special value used to indicate openat should use the current working directory
-pub const AT_FDCWD = 100;
+pub const AT_FDCWD = -100;
 
 /// Do not follow symbolic links
 pub const AT_SYMLINK_NOFOLLOW = 0x100;