1 /* 2 * Copyright (c) 1984-1999, 2012 Wind River Systems, Inc. 3 * Copyright (c) 2023 Synopsys 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 8 /** 9 * @file 10 * @brief System error numbers 11 */ 12 13 #ifndef LIB_LIBC_ARCMWDT_INCLUDE_ERRNO_H_ 14 #define LIB_LIBC_ARCMWDT_INCLUDE_ERRNO_H_ 15 16 #include_next <errno.h> 17 18 #ifdef __cplusplus 19 extern "C" { 20 #endif 21 22 /* MWDT supports range of error codes (ref. $(METAWARE_ROOT)/arc/lib/src/inc/errno.h) 23 * Add unsupported only 24 */ 25 #ifndef ENODATA 26 #define ENODATA 86 27 #endif 28 29 /** 30 * @} 31 */ 32 33 #ifdef __cplusplus 34 } 35 #endif 36 37 38 #endif /* LIB_LIBC_ARCMWDT_INCLUDE_ERRNO_H_ */ 39