Ignore:
File:
1 edited

Legend:

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

    rda9f13f3 r14670bf  
    3939#include <fibril.h>
    4040
     41#define errno _errno
     42
    4143extern int _errno;
    42 
    43 #define errno _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
    5867/** An API function is called while another blocking function is in progress. */
    59 #define EINPROGRESS     (-10036)
     68#define EINPROGRESS  (-10036)
    6069
    6170/** The socket identifier is not valid. */
    62 #define ENOTSOCK        (-10038)
     71#define ENOTSOCK  (-10038)
    6372
    6473/** The destination address required. */
    65 #define EDESTADDRREQ    (-10039)
     74#define EDESTADDRREQ  (-10039)
    6675
    6776/** Protocol is not supported.  */
    68 #define EPROTONOSUPPORT (-10043)
     77#define EPROTONOSUPPORT  (-10043)
    6978
    7079/** Socket type is not supported. */
    71 #define ESOCKTNOSUPPORT (-10044)
     80#define ESOCKTNOSUPPORT  (-10044)
    7281
    7382/** Protocol family is not supported. */
    74 #define EPFNOSUPPORT    (-10046)
     83#define EPFNOSUPPORT  (-10046)
    7584
    7685/** Address family is not supported. */
    77 #define EAFNOSUPPORT    (-10047)
     86#define EAFNOSUPPORT  (-10047)
    7887
    7988/** Address is already in use. */
    80 #define EADDRINUSE      (-10048)
     89#define EADDRINUSE  (-10048)
    8190
    8291/** The socket is not connected or bound. */
    83 #define ENOTCONN        (-10057)
     92#define ENOTCONN  (-10057)
    8493
    8594/** The requested operation was not performed. Try again later. */
    86 #define EAGAIN          (-11002)
     95#define EAGAIN  (-11002)
    8796
    88 /** No data.
    89  */
    90 #define NO_DATA         (-11004)
     97/** No data. */
     98#define NO_DATA (-11004)
    9199
    92100#endif
Note: See TracChangeset for help on using the changeset viewer.