Skip to content

Commit 0a0568d

Browse files
committed
haiku ucred data addition
close #2317
1 parent 6756263 commit 0a0568d

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)