unix: add fchdir(2)

This commit is contained in:
Luca Bruno 2017-01-15 16:51:01 +00:00
parent 4fe2cc22e7
commit 7a26079585
No known key found for this signature in database
GPG Key ID: A9834A2252078E4E
1 changed files with 1 additions and 0 deletions

View File

@ -366,6 +366,7 @@ extern {
pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int;
pub fn alarm(seconds: ::c_uint) -> ::c_uint;
pub fn chdir(dir: *const c_char) -> ::c_int;
pub fn fchdir(dirfd: ::c_int) -> ::c_int;
pub fn chown(path: *const c_char, uid: uid_t,
gid: gid_t) -> ::c_int;
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),