add fchown

This commit is contained in:
Jörg Thalheim 2017-03-29 20:51:44 +02:00
parent 1033ce707a
commit e6864db83e
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

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