Warning: This file is not a C or C++ file. It does not have highlighting.

1//===-- Macros defined in sys/resource.h header file ----------------------===//
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_RESOURCE_MACROS_H
10#define LLVM_LIBC_MACROS_LINUX_SYS_RESOURCE_MACROS_H
11
12#define RLIMIT_CPU 0
13#define RLIMIT_FSIZE 1
14#define RLIMIT_DATA 2
15#define RLIMIT_STACK 3
16#define RLIMIT_CORE 4
17#define RLIMIT_RSS 5
18#define RLIMIT_NPROC 6
19#define RLIMIT_NOFILE 7
20#define RLIMIT_MEMLOCK 8
21#define RLIMIT_AS 9
22#define RLIMIT_LOCKS 10
23#define RLIMIT_SIGPENDING 11
24#define RLIMIT_MSGQUEUE 12
25#define RLIMIT_NICE 13
26#define RLIMIT_RTPRIO 14
27#define RLIMIT_RTTIME 15
28
29#define RLIM_INFINITY (~0UL)
30
31#endif // LLVM_LIBC_MACROS_LINUX_SYS_RESOURCE_MACROS_H
32

Warning: This file is not a C or C++ file. It does not have highlighting.

source code of libc/include/llvm-libc-macros/linux/sys-resource-macros.h