Skip to content

Commit 80b2610

Browse files
committed
Auto merge of #2318 - devnexen:haiku_ucred, r=JohnTitor
haiku ucred data addition close #2317
2 parents 6756263 + 0a0568d commit 80b2610

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,12 @@ s! {
315315
pub named_sem_id: i32, // actually a union with unnamed_sem (i32)
316316
pub padding: [i32; 2],
317317
}
318+
319+
pub struct ucred {
320+
pub pid: ::pid_t,
321+
pub uid: ::uid_t,
322+
pub gid: ::gid_t,
323+
}
318324
}
319325

320326
s_no_extra_traits! {

0 commit comments

Comments
 (0)