Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5668,6 +5668,9 @@ fn test_aix(target: &str) {
// https://github.com/gnzlbg/ctest/issues/68.
"lio_listio" => true,

// The function is only available under macro _KERNEL in 'proto_uipc.h'.
"getpeereid" => true,

_ => false,
}
});
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/aix.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1987,6 +1987,7 @@ getmntent
getnameinfo
getopt
getpagesize
getpeereid
getpeername
getpgid
getpgrp
Expand Down
1 change: 1 addition & 0 deletions src/unix/aix/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2943,6 +2943,7 @@ extern "C" {
flags: c_int,
) -> c_int;
pub fn getpagesize() -> c_int;
pub fn getpeereid(socket: c_int, euid: *mut crate::uid_t, egid: *mut crate::gid_t) -> c_int;
pub fn getpriority(which: c_int, who: crate::id_t) -> c_int;
pub fn getpwent() -> *mut crate::passwd;
#[link_name = "_posix_getpwnam_r"]
Expand Down
Loading