Searched refs:getpeereid (Results 1 - 4 of 4) sorted by relevance
/third_party/rust/crates/nix/test/ |
H A D | test_unistd.rs | 1286 let (uid_a, gid_a) = getpeereid(sock_a.as_raw_fd()).unwrap(); in test_getpeereid() 1287 let (uid_b, gid_b) = getpeereid(sock_b.as_raw_fd()).unwrap(); in test_getpeereid() 1308 // getpeereid is not POSIX, so error codes are inconsistent between different Unices. in test_getpeereid_invalid_fd() 1309 getpeereid(-1).expect_err("assertion failed"); in test_getpeereid_invalid_fd()
|
/third_party/rust/crates/libc/src/unix/bsd/ |
H A D | mod.rs | 648 pub fn getpeereid(socket: ::c_int, euid: *mut ::uid_t, egid: *mut ::gid_t) -> ::c_int; in getpeereid() functions
|
/third_party/rust/crates/nix/src/ |
H A D | unistd.rs | 3343 /// See also [getpeereid(3)](https://www.freebsd.org/cgi/man.cgi?query=getpeereid) 3352 pub fn getpeereid(fd: RawFd) -> Result<(Uid, Gid)> { in getpeereid() functions 3356 let ret = unsafe { libc::getpeereid(fd, &mut uid, &mut gid) }; in getpeereid()
|
/third_party/rust/crates/libc/src/unix/nto/ |
H A D | mod.rs | 2746 pub fn getpeereid(socket: ::c_int, euid: *mut ::uid_t, egid: *mut ::gid_t) -> ::c_int; in getpeereid() functions
|
Completed in 15 milliseconds