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 6716cdd commit e99e36eCopy full SHA for e99e36e
src/unix/newlib/horizon/mod.rs
@@ -147,6 +147,10 @@ pub const FIONBIO: ::c_ulong = 1;
147
148
pub const RTLD_DEFAULT: *mut ::c_void = 0 as *mut ::c_void;
149
150
+// For getrandom()
151
+pub const GRND_NONBLOCK: ::c_uint = 0x1;
152
+pub const GRND_RANDOM: ::c_uint = 0x2;
153
+
154
// Horizon OS works doesn't or can't hold any of this information
155
safe_f! {
156
pub {const} fn WIFSTOPPED(_status: ::c_int) -> bool {
0 commit comments