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 8788872 commit 8b82c29Copy full SHA for 8b82c29
src/unix/redox/mod.rs
@@ -48,6 +48,9 @@ pub type suseconds_t = ::c_int;
48
pub type tcflag_t = u32;
49
pub type time_t = ::c_longlong;
50
pub type id_t = ::c_uint;
51
+pub type pid_t = usize;
52
+pub type uid_t = u32;
53
+pub type gid_t = u32;
54
55
#[cfg_attr(feature = "extra_traits", derive(Debug))]
56
pub enum timezone {}
@@ -258,9 +261,9 @@ s! {
258
261
}
259
262
260
263
pub struct ucred {
- pub pid: i32,
- pub uid: i32,
- pub gid: i32,
264
+ pub pid: pid_t,
265
+ pub uid: uid_t,
266
+ pub gid: gid_t,
267
268
269
0 commit comments