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 cbe11e7 commit e9c6804Copy full SHA for e9c6804
src/unix/bsd/netbsdlike/netbsd/mod.rs
@@ -919,6 +919,12 @@ pub const O_RSYNC: ::c_int = 0x00020000;
919
pub const MS_SYNC: ::c_int = 0x4;
920
pub const MS_INVALIDATE: ::c_int = 0x2;
921
922
+// Here because they are not present on OpenBSD
923
+// (https://github.com/openbsd/src/blob/master/sys/sys/resource.h)
924
+pub const RLIMIT_SBSIZE: ::c_int = 9;
925
+pub const RLIMIT_AS: ::c_int = 10;
926
+pub const RLIMIT_NTHR: ::c_int = 11;
927
+
928
#[deprecated(since = "0.2.64", note = "Not stable across OS versions")]
929
pub const RLIM_NLIMITS: ::c_int = 12;
930
0 commit comments