Auto merge of #367 - knight42:lutimes, r=alexcrichton
Add lutimes Add lutimes except for openbsd, solaris, android
This commit is contained in:
commit
53372b8270
@ -1320,6 +1320,8 @@ f! {
|
||||
}
|
||||
|
||||
extern {
|
||||
pub fn lutimes(file: *const ::c_char, times: *const ::timeval) -> ::c_int;
|
||||
|
||||
pub fn getutxent() -> *mut utmpx;
|
||||
pub fn getutxid(ut: *const utmpx) -> *mut utmpx;
|
||||
pub fn getutxline(ut: *const utmpx) -> *mut utmpx;
|
||||
|
@ -723,6 +723,7 @@ f! {
|
||||
}
|
||||
|
||||
extern {
|
||||
pub fn lutimes(file: *const ::c_char, times: *const ::timeval) -> ::c_int;
|
||||
pub fn endutxent();
|
||||
pub fn getutxent() -> *mut utmpx;
|
||||
pub fn getutxid(ut: *const utmpx) -> *mut utmpx;
|
||||
|
@ -398,6 +398,8 @@ pub const KI_MAXLOGNAME: ::c_int = 32;
|
||||
pub const KI_EMULNAMELEN: ::c_int = 8;
|
||||
|
||||
extern {
|
||||
pub fn lutimes(file: *const ::c_char, times: *const ::timeval) -> ::c_int;
|
||||
|
||||
pub fn getnameinfo(sa: *const ::sockaddr,
|
||||
salen: ::socklen_t,
|
||||
host: *mut ::c_char,
|
||||
|
@ -521,6 +521,7 @@ pub const KERN_PROC_GID: ::c_int = 7;
|
||||
pub const KERN_PROC_RGID: ::c_int = 8;
|
||||
|
||||
extern {
|
||||
pub fn lutimes(file: *const ::c_char, times: *const ::timeval) -> ::c_int;
|
||||
pub fn getnameinfo(sa: *const ::sockaddr,
|
||||
salen: ::socklen_t,
|
||||
host: *mut ::c_char,
|
||||
|
@ -510,6 +510,8 @@ f! {
|
||||
}
|
||||
|
||||
extern {
|
||||
pub fn lutimes(file: *const ::c_char, times: *const ::timeval) -> ::c_int;
|
||||
|
||||
pub fn setpwent();
|
||||
pub fn getpwent() -> *mut passwd;
|
||||
pub fn shm_open(name: *const c_char, oflag: ::c_int,
|
||||
|
Loading…
Reference in New Issue
Block a user