xref: /DragonOS/kernel/src/libs/rand.rs (revision 83ed0ebc293d5a10245089f627f52770fd5b9dd4)
1 bitflags! {
2     pub struct GRandFlags: u8{
3         const GRND_NONBLOCK = 0x0001;
4         const GRND_RANDOM = 0x0002;
5         const GRND_INSECURE = 0x0004;
6     }
7 }
8