Skip to content
Snippets Groups Projects
Commit 41d135e8 authored by bors's avatar bors Committed by GitHub
Browse files

Auto merge of #320 - knight42:lchown, r=alexcrichton

unix: Add lchown
parents 1e2d77ae e383ee75
No related branches found
No related tags found
No related merge requests found
......@@ -335,6 +335,10 @@ extern {
pub fn chdir(dir: *const c_char) -> ::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"),
link_name = "lchown$UNIX2003")]
pub fn lchown(path: *const c_char, uid: uid_t,
gid: gid_t) -> ::c_int;
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
link_name = "close$UNIX2003")]
pub fn close(fd: ::c_int) -> ::c_int;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment