Skip to content

Commit 8788872

Browse files
Add ucred struct in redox
1 parent 586541b commit 8788872

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/unix/redox/mod.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,12 @@ s! {
256256
pub tm_gmtoff: ::c_long,
257257
pub tm_zone: *const ::c_char,
258258
}
259+
260+
pub struct ucred {
261+
pub pid: i32,
262+
pub uid: i32,
263+
pub gid: i32,
264+
}
259265
}
260266

261267
pub const UTSLENGTH: usize = 65;

0 commit comments

Comments
 (0)