OK, final change to error codes for a while I hope.

- remove private/kernel/Errors.h as this was just plain wrong to have it
  there and confused issues somewhat.
- add the kerrors.h file that has kernel only error codes, namely the
  ERR_ codes from newos.
- add comments for the other header files to tell people where to find
  error code definitions in an attempt to stop people getting lost!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@101 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
David Reid
2002-07-11 22:17:09 +00:00
parent 93e99fcd57
commit f16873a60e
4 changed files with 89 additions and 264 deletions
+5 -1
View File
@@ -3,6 +3,10 @@
*
* POSIX style error codes.
* Be values used where required to keep compatibility.
*
* Errors beginning with B_ can be found in os/support/Errors.h
* those starting with ERR_ are kernel only and are found in
* private/kernel/kerrors.h
*/
#ifndef _POSIX_ERRNO_H
@@ -128,7 +132,7 @@ enum {
ENOTEMPTY,
ENOSPC,
EROFS,
EMFILE,
EMFILE = EBADF + 10,
EXDEV,
ELOOP,
EPIPE