[LICM] allow MemoryAccess creation failure (#116813)
[llvm-project.git] / libc / include / llvm-libc-macros / linux / sys-random-macros.h
blob9261e87bdbf6f68ca86a88d68dd9b8f652fc40f4
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIBC_MACROS_LINUX_SYS_RANDOM_MACROS_H
10 #define LLVM_LIBC_MACROS_LINUX_SYS_RANDOM_MACROS_H
12 // Getrandom flags
13 #define GRND_RANDOM 0x0001
14 #define GRND_NONBLOCK 0x0002
15 #define GRND_INSECURE 0x0004
17 #endif // LLVM_LIBC_MACROS_LINUX_SYS_RANDOM_MACROS_H