1//===-- Definition of generic error number macros -------------------------===//
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_GENERIC_ERROR_NUMBER_MACROS_H
10#define LLVM_LIBC_MACROS_GENERIC_ERROR_NUMBER_MACROS_H
11
12#define EPERM 1
13#define ENOENT 2
14#define ESRCH 3
15#define EINTR 4
16#define EIO 5
17#define ENXIO 6
18#define E2BIG 7
19#define ENOEXEC 8
20#define EBADF 9
21#define ECHILD 10
22#define EAGAIN 11
23#define ENOMEM 12
24#define EACCES 13
25#define EFAULT 14
26#define ENOTBLK 15
27#define EBUSY 16
28#define EEXIST 17
29#define EXDEV 18
30#define ENODEV 19
31#define ENOTDIR 20
32#define EISDIR 21
33#define EINVAL 22
34#define ENFILE 23
35#define EMFILE 24
36#define ENOTTY 25
37#define ETXTBSY 26
38#define EFBIG 27
39#define ENOSPC 28
40#define ESPIPE 29
41#define EROFS 30
42#define EMLINK 31
43#define EPIPE 32
44#define EDOM 33
45#define ERANGE 34
46#define EILSEQ 35
47
48#endif // LLVM_LIBC_MACROS_GENERIC_ERROR_NUMBER_MACROS_H
49

source code of libc/include/llvm-libc-macros/generic-error-number-macros.h