We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bfdcd34 + 859f4d9 commit 012e964Copy full SHA for 012e964
src/libstd/sys/unix/c.rs
@@ -72,7 +72,8 @@ pub const WNOHANG: libc::c_int = 1;
72
#[cfg(target_os = "linux")]
73
pub const _SC_GETPW_R_SIZE_MAX: libc::c_int = 70;
74
#[cfg(any(target_os = "macos",
75
- target_os = "freebsd"))]
+ target_os = "freebsd",
76
+ target_os = "dragonfly"))]
77
pub const _SC_GETPW_R_SIZE_MAX: libc::c_int = 71;
78
#[cfg(target_os = "openbsd")]
79
pub const _SC_GETPW_R_SIZE_MAX: libc::c_int = 101;
@@ -94,6 +95,7 @@ pub struct passwd {
94
95
#[repr(C)]
96
97
target_os = "freebsd",
98
+ target_os = "dragonfly",
99
target_os = "openbsd"))]
100
pub struct passwd {
101
pub pw_name: *mut libc::c_char,
0 commit comments