| ... | @@ -109,6 +109,7 @@ pub extern "c" fn setreuid(ruid: c_uint, euid: c_uint) c_int; | ... | @@ -109,6 +109,7 @@ pub extern "c" fn setreuid(ruid: c_uint, euid: c_uint) c_int; |
| 109 | pub extern "c" fn setregid(rgid: c_uint, egid: c_uint) c_int; | 109 | pub extern "c" fn setregid(rgid: c_uint, egid: c_uint) c_int; |
| 110 | pub extern "c" fn rmdir(path: [*:0]const u8) c_int; | 110 | pub extern "c" fn rmdir(path: [*:0]const u8) c_int; |
| 111 | pub extern "c" fn getenv(name: [*:0]const u8) ?[*:0]u8; | 111 | pub extern "c" fn getenv(name: [*:0]const u8) ?[*:0]u8; |
| | 112 | pub extern "c" fn getrusage(who: c_int, usage: *rusage) c_int; |
| 112 | pub extern "c" fn sysctl(name: [*]const c_int, namelen: c_uint, oldp: ?*c_void, oldlenp: ?*usize, newp: ?*c_void, newlen: usize) c_int; | 113 | pub extern "c" fn sysctl(name: [*]const c_int, namelen: c_uint, oldp: ?*c_void, oldlenp: ?*usize, newp: ?*c_void, newlen: usize) c_int; |
| 113 | pub extern "c" fn sysctlbyname(name: [*:0]const u8, oldp: ?*c_void, oldlenp: ?*usize, newp: ?*c_void, newlen: usize) c_int; | 114 | pub extern "c" fn sysctlbyname(name: [*:0]const u8, oldp: ?*c_void, oldlenp: ?*usize, newp: ?*c_void, newlen: usize) c_int; |
| 114 | pub extern "c" fn sysctlnametomib(name: [*:0]const u8, mibp: ?*c_int, sizep: ?*usize) c_int; | 115 | pub extern "c" fn sysctlnametomib(name: [*:0]const u8, mibp: ?*c_int, sizep: ?*usize) c_int; |