Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/errno.h

    rc0699467 rb352895  
    2727 */
    2828
    29 /** @addtogroup generic
     29/** @addtogroup generic 
    3030 * @{
    3131 */
     
    3636#define KERN_ERRNO_H_
    3737
    38 #include <abi/errno.h>
     38/* 1-255 are kernel error codes, 256-512 are user error codes */
     39
     40#define EOK             0       /* No error */
     41#define ENOENT          -1      /* No such entry */
     42#define ENOMEM          -2      /* Not enough memory */
     43#define ELIMIT          -3      /* Limit exceeded */
     44#define EREFUSED        -4      /* Connection refused */
     45#define EFORWARD        -5      /* Forward error */
     46#define EPERM           -6      /* Permission denied */
     47#define EHANGUP         -7      /* Answerbox closed connection, call
     48                                 * sys_ipc_hangup() to close the connection.
     49                                 * Used by answerbox to close the connection.
     50                                 */
     51#define EPARTY          -8      /* The other party encountered an error when
     52                                 * receiving the call.
     53                                 */
     54#define EEXISTS         -9      /* Entry already exists */
     55#define EBADMEM         -10     /* Bad memory pointer */
     56#define ENOTSUP         -11     /* Not supported */
     57#define EADDRNOTAVAIL   -12     /* Address not available. */
     58#define ETIMEOUT        -13     /* Timeout expired */
     59#define EINVAL          -14     /* Invalid value */
     60#define EBUSY           -15     /* Resource is busy */
     61#define EOVERFLOW       -16     /* The result does not fit its size. */
     62#define EINTR           -17     /* Operation was interrupted. */
    3963
    4064#endif
Note: See TracChangeset for help on using the changeset viewer.