Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/errno.h

    r14670bf rda9f13f3  
    3939#include <fibril.h>
    4040
     41extern int _errno;
     42
    4143#define errno _errno
    42 
    43 extern int _errno;
    4444
    4545#define EMFILE        (-18)
     
    5656#define EMLINK        (-266)
    5757
    58 /** Bad checksum. */
    59 #define EBADCHECKSUM  (-300)
    60 
    61 /** USB: stalled operation. */
    62 #define ESTALL (-301)
    63 
    64 /** Empty resource (no data). */
    65 #define EEMPTY (-302)
    66 
    6758/** An API function is called while another blocking function is in progress. */
    68 #define EINPROGRESS  (-10036)
     59#define EINPROGRESS     (-10036)
    6960
    7061/** The socket identifier is not valid. */
    71 #define ENOTSOCK  (-10038)
     62#define ENOTSOCK        (-10038)
    7263
    7364/** The destination address required. */
    74 #define EDESTADDRREQ  (-10039)
     65#define EDESTADDRREQ    (-10039)
    7566
    7667/** Protocol is not supported.  */
    77 #define EPROTONOSUPPORT  (-10043)
     68#define EPROTONOSUPPORT (-10043)
    7869
    7970/** Socket type is not supported. */
    80 #define ESOCKTNOSUPPORT  (-10044)
     71#define ESOCKTNOSUPPORT (-10044)
    8172
    8273/** Protocol family is not supported. */
    83 #define EPFNOSUPPORT  (-10046)
     74#define EPFNOSUPPORT    (-10046)
    8475
    8576/** Address family is not supported. */
    86 #define EAFNOSUPPORT  (-10047)
     77#define EAFNOSUPPORT    (-10047)
    8778
    8879/** Address is already in use. */
    89 #define EADDRINUSE  (-10048)
     80#define EADDRINUSE      (-10048)
    9081
    9182/** The socket is not connected or bound. */
    92 #define ENOTCONN  (-10057)
     83#define ENOTCONN        (-10057)
    9384
    9485/** The requested operation was not performed. Try again later. */
    95 #define EAGAIN  (-11002)
     86#define EAGAIN          (-11002)
    9687
    97 /** No data. */
    98 #define NO_DATA (-11004)
     88/** No data.
     89 */
     90#define NO_DATA         (-11004)
    9991
    10092#endif
Note: See TracChangeset for help on using the changeset viewer.