openbsd: unbreak: chflags family
This commit is contained in:
parent
914e50a607
commit
81a0e2cdf0
@ -611,11 +611,6 @@ f! {
|
||||
}
|
||||
}
|
||||
|
||||
extern {
|
||||
pub fn chflags(path: *const ::c_char, flags: ::c_ulong) -> ::c_int;
|
||||
pub fn fchflags(fd: ::c_int, flags: ::c_ulong) -> ::c_int;
|
||||
}
|
||||
|
||||
#[link(name = "util")]
|
||||
extern {
|
||||
pub fn mincore(addr: *mut ::c_void, len: ::size_t,
|
||||
|
@ -1032,6 +1032,8 @@ extern {
|
||||
pub fn lio_listio(mode: ::c_int, aiocb_list: *const *mut aiocb,
|
||||
nitems: ::c_int, sevp: *mut sigevent) -> ::c_int;
|
||||
|
||||
pub fn chflags(path: *const ::c_char, flags: ::c_ulong) -> ::c_int;
|
||||
pub fn fchflags(fd: ::c_int, flags: ::c_ulong) -> ::c_int;
|
||||
pub fn lchflags(path: *const ::c_char, flags: ::c_ulong) -> ::c_int;
|
||||
|
||||
pub fn extattr_delete_fd(fd: ::c_int,
|
||||
|
@ -710,7 +710,9 @@ f! {
|
||||
}
|
||||
|
||||
extern {
|
||||
pub fn chflagsat(fd: ::c_int, path: *const ::c_char, flags: ::c_ulong,
|
||||
pub fn chflags(path: *const ::c_char, flags: ::c_uint) -> ::c_int;
|
||||
pub fn fchflags(fd: ::c_int, flags: ::c_uint) -> ::c_int;
|
||||
pub fn chflagsat(fd: ::c_int, path: *const ::c_char, flags: ::c_uint,
|
||||
atflag: ::c_int) -> ::c_int;
|
||||
pub fn dirfd(dirp: *mut ::DIR) -> ::c_int;
|
||||
pub fn getnameinfo(sa: *const ::sockaddr,
|
||||
|
Loading…
Reference in New Issue
Block a user