Subversion Repositories HelenOS

Rev

Rev 1281 | Rev 1440 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1281 Rev 1306
Line 29... Line 29...
29
#ifndef __ERRNO_H__
29
#ifndef __ERRNO_H__
30
#define __ERRNO_H__
30
#define __ERRNO_H__
31
 
31
 
32
/* 1-255 are kernel error codes, 256-512 are user error codes */
32
/* 1-255 are kernel error codes, 256-512 are user error codes */
33
 
33
 
34
#define ENOENT     -1  /* No such entry */
34
#define ENOENT      -1  /* No such entry */
35
#define ENOMEM     -2  /* Not enough memory */
35
#define ENOMEM      -2  /* Not enough memory */
36
#define ELIMIT     -3  /* Limit exceeded */
36
#define ELIMIT      -3  /* Limit exceeded */
37
#define EREFUSED   -4  /* Connection refused */
37
#define EREFUSED    -4  /* Connection refused */
38
#define EFORWARD   -5  /* Forward error */
38
#define EFORWARD    -5  /* Forward error */
39
#define EPERM      -6  /* Permission denied */
39
#define EPERM       -6  /* Permission denied */
40
#define EHANGUP    -7  /* Answerbox closed connection, call sys_ipc_hangup
40
#define EHANGUP     -7  /* Answerbox closed connection, call sys_ipc_hangup
41
            * to close the connection. Used by answerbox
41
                 * to close the connection. Used by answerbox
42
            * to close the connection.  */
42
                 * to close the connection.  */
43
#define EEXISTS    -8  /* Entry already exists */
43
#define EEXISTS     -8  /* Entry already exists */
44
#define EBADMEM    -9  /* Bad memory pointer */
44
#define EBADMEM     -9  /* Bad memory pointer */
-
 
45
#define ENOTSUP     -10 /* Not supported */
-
 
46
#define EADDRNOTAVAIL   -11 /* Address not available. */
45
 
47
 
46
#endif
48
#endif