Subversion Repositories HelenOS

Rev

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

Rev 2071 Rev 2445
Line 35... Line 35...
35
#ifndef KERN_ERRNO_H_
35
#ifndef KERN_ERRNO_H_
36
#define KERN_ERRNO_H_
36
#define KERN_ERRNO_H_
37
 
37
 
38
/* 1-255 are kernel error codes, 256-512 are user error codes */
38
/* 1-255 are kernel error codes, 256-512 are user error codes */
39
 
39
 
-
 
40
#define EOK         0   /* No error */
40
#define ENOENT      -1  /* No such entry */
41
#define ENOENT      -1  /* No such entry */
41
#define ENOMEM      -2  /* Not enough memory */
42
#define ENOMEM      -2  /* Not enough memory */
42
#define ELIMIT      -3  /* Limit exceeded */
43
#define ELIMIT      -3  /* Limit exceeded */
43
#define EREFUSED    -4  /* Connection refused */
44
#define EREFUSED    -4  /* Connection refused */
44
#define EFORWARD    -5  /* Forward error */
45
#define EFORWARD    -5  /* Forward error */