Skip to content

Commit

Permalink
Auto merge of #2146 - coolreader18:android-nlimits, r=JohnTitor
Browse files Browse the repository at this point in the history
Add RLIM_NLIMITS on android
  • Loading branch information
bors committed Apr 17, 2021
2 parents 2c40088 + b6313ff commit dafd08d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/linux_like/android/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1267,6 +1267,7 @@ pub const RLIMIT_MSGQUEUE: ::c_int = 12;
pub const RLIMIT_NICE: ::c_int = 13;
pub const RLIMIT_RTPRIO: ::c_int = 14;

pub const RLIM_NLIMITS: ::c_int = 16;
pub const RLIM_INFINITY: ::rlim_t = !0;

pub const TCGETS: ::c_int = 0x5401;
Expand Down

0 comments on commit dafd08d

Please sign in to comment.