OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [lwIP_AVR32_UC3/] [NETWORK/] [lwip-port/] [AT32UC3A/] [IAR/] [errno.h] - Blame information for rev 583

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 583 jeremybenn
/* errno.h standard header */
2
#ifndef _ERRNO
3
#define _ERRNO
4
 
5
#ifndef _SYSTEM_BUILD
6
  #pragma system_include
7
#endif
8
 
9
#ifndef _YVALS
10
  #include <yvals.h>
11
#endif
12
_C_STD_BEGIN
13
 
14
                /* ERROR CODES */
15
#define EDOM    _EDOM
16
#define ERANGE  _ERANGE
17
#define EFPOS   _EFPOS
18
#define EILSEQ  _EILSEQ
19
 
20
               /* lwip error codes, from cygwin errno.h */
21
#define EIO 5                 /* I/O error */
22
#define EWOULDBLOCK 11          /* Operation would block */
23
#define ENOMEM 12             /* Not enough core */
24
#define EFAULT 14                               /* Bad address */
25
#define EINVAL 22                               /* Invalid argument */
26
#define ENOSYS 88                         /* Function not implemented */
27
#define ECONNRESET 104            /* Connection reset by peer */
28
#define ENOBUFS 105          /* No buffer space available */
29
#define ENOPROTOOPT 109      /* Protocol not available */
30
#define ESHUTDOWN 110        /* Can't send after socket shutdown */
31
#define EADDRINUSE 112       /* Address already in use */
32
#define ECONNABORTED 113     /* Connection aborted */
33
#define EHOSTUNREACH 118             /* Host is unreachable */
34
#define ENOTCONN 128         /* Socket is not connected */
35
 
36
#define _NERR   129   /* one more than last code */
37
 
38
                /* DECLARATIONS */
39
_C_LIB_DECL
40
#if !_MULTI_THREAD || _COMPILER_TLS && !_GLOBAL_LOCALE
41
  extern int _TLS_QUAL errno;
42
 
43
#else /* !_MULTI_THREAD || _COMPILER_TLS && !_GLOBAL_LOCALE */
44
  __INTRINSIC int *_Geterrno(void);
45
 
46
  #define errno (*_Geterrno())
47
#endif /* !_MULTI_THREAD || _COMPILER_TLS && !_GLOBAL_LOCALE */
48
_END_C_LIB_DECL
49
_C_STD_END
50
#endif /* _ERRNO */
51
 
52
#ifdef _STD_USING
53
  #ifndef errno
54
    using _CSTD errno;
55
  #endif
56
#endif /* _STD_USING */
57
/*
58
 * Copyright (c) 1992-2002 by P.J. Plauger.  ALL RIGHTS RESERVED.
59
 * Consult your license regarding permissions and restrictions.
60
V3.12:0576 */
61
 
62
 
63
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.