Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


(no commit message)
[palacios.git] / palacios / include / geekos / errno.h
1 /*
2  * GeekOS error codes
3  * Copyright (c) 2003,2004 David H. Hovemeyer <daveho@cs.umd.edu>
4  * $Revision: 1.1.1.1 $
5  * 
6  * This is free software.  You are permitted to use,
7  * redistribute, and modify it as specified in the file "COPYING".
8  */
9
10 #ifndef GEEKOS_ERRNO_H
11 #define GEEKOS_ERRNO_H
12
13 /*
14  * Error codes returned by kernel functions and
15  * system calls.  These are meant to be returned to user
16  * code to describe system call failures.
17  */
18 #define EUNSPECIFIED            -1       /* Unspecified error */
19 #define ENOTFOUND               -2       /* No such file or directory */
20 #define EUNSUPPORTED            -3       /* Operation not supported */
21 #define ENODEV                  -4       /* No such device */
22 #define EIO                     -5       /* Input/output error */
23 #define EBUSY                   -6       /* Resource in use */
24 #define ENOMEM                  -7       /* Out of memory */
25 #define ENOFILESYS              -8       /* No such filesystem */
26 #define ENAMETOOLONG            -9       /* Name too long */
27 #define EINVALIDFS              -10      /* Invalid format for filesystem */
28 #define EACCESS                 -11      /* Permission denied */
29 #define EINVALID                -12      /* Invalid argument */
30 #define EMFILE                  -13      /* File descriptor table full */
31 #define ENOTDIR                 -14      /* Not a directory */
32 #define EEXIST                  -15      /* File or directory already exists */
33 #define ENOSPACE                -16      /* Out of space on device */
34 #define EPIPE                   -17      /* Pipe has no reader */
35 #define ENOEXEC                 -18      /* Invalid executable format */
36
37 #endif  /* GEEKOS_ERRNO_H */