Correct AT_FDCWD definition

This commit is contained in:
LemonBoy 2019-09-12 12:42:59 +02:00 committed by Andrew Kelley
parent cf4bccf765
commit 774f770056

View File

@ -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;