Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/system/lib/llvm-libc/include/llvm-libc-macros/sys-auxv-macros.h
6194 views
1
//===-- Macros defined in sys/auxv.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_SYS_AUXV_MACROS_H
10
#define LLVM_LIBC_MACROS_SYS_AUXV_MACROS_H
11
12
// Macros defining the aux vector indexes.
13
#define AT_NULL 0
14
#define AT_IGNORE 1
15
#define AT_EXECFD 2
16
#define AT_PHDR 3
17
#define AT_PHENT 4
18
#define AT_PHNUM 5
19
#define AT_PAGESZ 6
20
#define AT_BASE 7
21
#define AT_FLAGS 8
22
#define AT_ENTRY 9
23
#define AT_NOTELF 10
24
#define AT_UID 11
25
#define AT_EUID 12
26
#define AT_GID 13
27
#define AT_EGID 14
28
#define AT_PLATFORM 15
29
#define AT_HWCAP 16
30
#define AT_CLKTCK 17
31
32
#define AT_SECURE 23
33
#define AT_BASE_PLATFORM 24
34
#define AT_RANDOM 25
35
#define AT_HWCAP2 26
36
37
#define AT_EXECFN 31
38
39
#ifndef AT_MINSIGSTKSZ
40
#define AT_MINSIGSTKSZ 51
41
#endif
42
43
#endif // LLVM_LIBC_MACROS_SYS_AUXV_MACROS_H
44
45