49 lines · c
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-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef LLVM_LIBC_MACROS_GENERIC_ERROR_NUMBER_MACROS_H10#define LLVM_LIBC_MACROS_GENERIC_ERROR_NUMBER_MACROS_H11 12#define EPERM 113#define ENOENT 214#define ESRCH 315#define EINTR 416#define EIO 517#define ENXIO 618#define E2BIG 719#define ENOEXEC 820#define EBADF 921#define ECHILD 1022#define EAGAIN 1123#define ENOMEM 1224#define EACCES 1325#define EFAULT 1426#define ENOTBLK 1527#define EBUSY 1628#define EEXIST 1729#define EXDEV 1830#define ENODEV 1931#define ENOTDIR 2032#define EISDIR 2133#define EINVAL 2234#define ENFILE 2335#define EMFILE 2436#define ENOTTY 2537#define ETXTBSY 2638#define EFBIG 2739#define ENOSPC 2840#define ESPIPE 2941#define EROFS 3042#define EMLINK 3143#define EPIPE 3244#define EDOM 3345#define ERANGE 3446#define EILSEQ 8447 48#endif // LLVM_LIBC_MACROS_GENERIC_ERROR_NUMBER_MACROS_H49