mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
Updated AVR32 demos and added AVR32 UC3B demo.
This commit is contained in:
parent
45e7e5ac55
commit
94c94d3c0e
164 changed files with 21458 additions and 3994 deletions
63
Demo/lwIP_AVR32_UC3/NETWORK/lwip-port/AT32UC3A/IAR/errno.h
Normal file
63
Demo/lwIP_AVR32_UC3/NETWORK/lwip-port/AT32UC3A/IAR/errno.h
Normal file
|
@ -0,0 +1,63 @@
|
|||
/* errno.h standard header */
|
||||
#ifndef _ERRNO
|
||||
#define _ERRNO
|
||||
|
||||
#ifndef _SYSTEM_BUILD
|
||||
#pragma system_include
|
||||
#endif
|
||||
|
||||
#ifndef _YVALS
|
||||
#include <yvals.h>
|
||||
#endif
|
||||
_C_STD_BEGIN
|
||||
|
||||
/* ERROR CODES */
|
||||
#define EDOM _EDOM
|
||||
#define ERANGE _ERANGE
|
||||
#define EFPOS _EFPOS
|
||||
#define EILSEQ _EILSEQ
|
||||
|
||||
/* lwip error codes, from cygwin errno.h */
|
||||
#define EIO 5 /* I/O error */
|
||||
#define EWOULDBLOCK 11 /* Operation would block */
|
||||
#define ENOMEM 12 /* Not enough core */
|
||||
#define EFAULT 14 /* Bad address */
|
||||
#define EINVAL 22 /* Invalid argument */
|
||||
#define ENOSYS 88 /* Function not implemented */
|
||||
#define ECONNRESET 104 /* Connection reset by peer */
|
||||
#define ENOBUFS 105 /* No buffer space available */
|
||||
#define ENOPROTOOPT 109 /* Protocol not available */
|
||||
#define ESHUTDOWN 110 /* Can't send after socket shutdown */
|
||||
#define EADDRINUSE 112 /* Address already in use */
|
||||
#define ECONNABORTED 113 /* Connection aborted */
|
||||
#define EHOSTUNREACH 118 /* Host is unreachable */
|
||||
#define ENOTCONN 128 /* Socket is not connected */
|
||||
|
||||
#define _NERR 129 /* one more than last code */
|
||||
|
||||
/* DECLARATIONS */
|
||||
_C_LIB_DECL
|
||||
#if !_MULTI_THREAD || _COMPILER_TLS && !_GLOBAL_LOCALE
|
||||
extern int _TLS_QUAL errno;
|
||||
|
||||
#else /* !_MULTI_THREAD || _COMPILER_TLS && !_GLOBAL_LOCALE */
|
||||
__INTRINSIC int *_Geterrno(void);
|
||||
|
||||
#define errno (*_Geterrno())
|
||||
#endif /* !_MULTI_THREAD || _COMPILER_TLS && !_GLOBAL_LOCALE */
|
||||
_END_C_LIB_DECL
|
||||
_C_STD_END
|
||||
#endif /* _ERRNO */
|
||||
|
||||
#ifdef _STD_USING
|
||||
#ifndef errno
|
||||
using _CSTD errno;
|
||||
#endif
|
||||
#endif /* _STD_USING */
|
||||
/*
|
||||
* Copyright (c) 1992-2002 by P.J. Plauger. ALL RIGHTS RESERVED.
|
||||
* Consult your license regarding permissions and restrictions.
|
||||
V3.12:0576 */
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue