Skip to content

Commit

Permalink
Add ucred on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Oct 11, 2017
1 parent c6d4aa6 commit 2bdbddc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/unix/notbsd/android/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,12 @@ s! {
pub ssi_addr_lsb: ::uint16_t,
_pad: [::uint8_t; 46],
}

pub struct ucred {
pub pid: ::pid_t,
pub uid: ::uid_t,
pub gid: ::gid_t,
}
}

pub const O_TRUNC: ::c_int = 512;
Expand Down

0 comments on commit 2bdbddc

Please sign in to comment.