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 ed04152 commit 2e38d9aCopy full SHA for 2e38d9a
src/unix/bsd/netbsdlike/openbsdlike/mod.rs
@@ -14,6 +14,7 @@ pub type pthread_cond_t = *mut ::c_void;
14
pub type pthread_condattr_t = *mut ::c_void;
15
pub type pthread_rwlock_t = *mut ::c_void;
16
pub type pthread_rwlockattr_t = *mut ::c_void;
17
+pub type ucred = ::sockpeercred;
18
19
s! {
20
pub struct dirent {
@@ -187,6 +188,12 @@ s! {
187
188
pub sdl_slen: ::c_uchar,
189
pub sdl_data: [::c_char; 24],
190
}
191
+
192
+ pub struct sockpeercred {
193
+ pub uid: ::uid_t,
194
+ pub gid: ::gid_t,
195
+ pub pid: ::pid_t,
196
+ }
197
198
199
pub const UT_NAMESIZE: usize = 32;
0 commit comments