summaryrefslogtreecommitdiff
path: root/libc/include/llvm-libc-macros/linux/sys-random-macros.h
blob: 1337f8b606fcf8d412172a603f812d08836e616e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//===-- Definition of macros from sys/random.h ----------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#ifndef __LLVM_LIBC_MACROS_LINUX_SYS_RANDOM_MACROS_H
#define __LLVM_LIBC_MACROS_LINUX_SYS_RANDOM_MACROS_H

// Getrandom flags
#define GRND_RANDOM 0x0001
#define GRND_NONBLOCK 0x0002
#define GRND_INSECURE 0x0004

#endif // __LLVM_LIBC_MACROS_LINUX_SYS_RANDOM_MACROS_H