Skip to content

Commit

Permalink
Auto merge of rust-lang#560 - Mic92:fchown, r=alexcrichton
Browse files Browse the repository at this point in the history
Add fchown
  • Loading branch information
bors committed Mar 30, 2017
2 parents 603e5a7 + e6864db commit c6a68f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/unix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,9 @@ extern {
mode: ::c_int, flags: ::c_int) -> ::c_int;
pub fn fchmodat(dirfd: ::c_int, pathname: *const ::c_char,
mode: ::mode_t, flags: ::c_int) -> ::c_int;
pub fn fchown(fd: ::c_int,
owner: ::uid_t,
group: ::gid_t) -> ::c_int;
pub fn fchownat(dirfd: ::c_int, pathname: *const ::c_char,
owner: ::uid_t, group: ::gid_t,
flags: ::c_int) -> ::c_int;
Expand Down

0 comments on commit c6a68f1

Please sign in to comment.