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:
@@ -1,10 +1,15 @@
|
||||
#ifndef _ERRORS_H
|
||||
#define _ERRORS_H
|
||||
|
||||
/* POSIX error codes are now all contained within errno.h */
|
||||
/* This file contains error codes as defined by BeOS R5.
|
||||
*
|
||||
* There are 2 other files that contain error codes,
|
||||
* codes starting E are found in posix/errno.h
|
||||
* codes starting with ERR_ are kernel only and found in
|
||||
* private/kernel/kerrors.h
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
|
||||
/*-------------------------------------------------------------*/
|
||||
/*----- Error baselines ---------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user