Platform drivers for Mbed.
Dependents: EVAL-CN0535-FMCZ EVAL-CN0535-FMCZ EVAL-AD568x-AD569x EVAL-AD7606 ... more
errno.h
- Committer:
- mahphalke
- Date:
- 2021-07-13
- Revision:
- 17:af1f2416dd26
File content as of revision 17:af1f2416dd26:
/***************************************************************************//** * @file errno.h * @brief Error macro definition for ARM Compiler * @author PMallick (Pratyush.Mallick@analog.com) ******************************************************************************** * Copyright (c) 2021 Analog Devices, Inc. * All rights reserved. * * This software is proprietary to Analog Devices, Inc. and its licensors. * By using this software you agree to the terms of the associated * Analog Devices Software License Agreement. *******************************************************************************/ #ifndef MBED_ERRNO_H_ #define MBED_ERRNO_H_ // Platform drivers needs to be C-compatible to work with other drivers #ifdef __cplusplus extern "C" { #endif // _cplusplus /******************************************************************************/ /********************** Macros and Constants Definitions **********************/ /******************************************************************************/ #if defined(__ARMCC_VERSION) #if !defined(__ELASTERROR) #define __ELASTERROR 2000 #endif #if !defined(ENOTSUP) #define ENOTSUP 9926 #endif #if !defined(EBADMSG) #define EBADMSG 9905 #endif #if !defined(ETIME) #define ETIME 9935 #endif #if !defined(EACCES) #define EACCES 9973 #endif #if !defined(ETIMEDOUT) #define ETIMEDOUT 9938 #endif #if !defined(ENODEV) #define ENODEV 9967 #endif #if !defined(EFAULT) #define EFAULT 9948 #endif #if !defined(EIO) #define EIO 9961 #endif #if !defined(ENOENT) #define ENOENT 9968 #endif #if !defined(EBUSY) #define EBUSY 9952 #endif #if !defined(EAGAIN) #define EAGAIN 9976 #endif #if !defined(EINVAL) #define EINVAL 9943 #endif #if !defined(ENOMEM) #define ENOMEM 9971 #endif // End of defined(__ARMCC_VERSION) #endif #include_next <errno.h> #ifdef __cplusplus } #endif // _cplusplus #endif // MBED_ERRNO_H_