We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc0e940 commit 1dcf578Copy full SHA for 1dcf578
src/unistd.rs
@@ -2795,6 +2795,7 @@ pub fn ttyname(fd: RawFd) -> Result<PathBuf> {
2795
target_os = "freebsd",
2796
target_os = "openbsd",
2797
target_os = "netbsd",
2798
+ target_os = "dragonfly",
2799
))]
2800
pub fn getpeereid(fd: RawFd) -> Result<(Uid, Gid)> {
2801
let mut uid = 1;
test/test_unistd.rs
@@ -1076,6 +1076,7 @@ fn test_getpeereid() {
1076
1077
1078
1079
1080
1081
fn test_getpeereid_invalid_fd() {
1082
// getpeereid is not POSIX, so error codes are inconsistent between different Unices.
0 commit comments