xref: /aosp_15_r20/external/llvm-libc/include/llvm-libc-macros/linux/sys-random-macros.h (revision 71db0c75aadcf003ffe3238005f61d7618a3fead)
1 //===-- Definition of macros from sys/random.h ----------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_LIBC_MACROS_LINUX_SYS_RANDOM_MACROS_H
10 #define LLVM_LIBC_MACROS_LINUX_SYS_RANDOM_MACROS_H
11 
12 // Getrandom flags
13 #define GRND_RANDOM 0x0001
14 #define GRND_NONBLOCK 0x0002
15 #define GRND_INSECURE 0x0004
16 
17 #endif // LLVM_LIBC_MACROS_LINUX_SYS_RANDOM_MACROS_H
18