Add ucred to musl

This commit is contained in:
Andy Lowry 2017-10-12 16:31:03 +01:00
parent e8bc1cf72e
commit df25142e39

View File

@ -72,6 +72,12 @@ s! {
pub mem_unit: ::c_uint,
pub __reserved: [::c_char; 256],
}
pub struct ucred {
pub pid: ::pid_t,
pub uid: ::uid_t,
pub gid: ::gid_t,
}
}
pub const SFD_CLOEXEC: ::c_int = 0x080000;