Added some new B_* names for existing POSIX error codes - please review.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3547 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -180,6 +180,7 @@ enum {
|
||||
#define ENOTSOCK (B_POSIX_ERROR_BASE + 44)
|
||||
#define EHOSTDOWN (B_POSIX_ERROR_BASE + 45)
|
||||
|
||||
/*---- POSIX errors that can be mapped to BeOS error codes ----*/
|
||||
#define ENOMEM B_NO_MEMORY
|
||||
#define EACCES B_PERMISSION_DENIED
|
||||
#define EINTR B_INTERRUPTED
|
||||
@@ -206,6 +207,14 @@ enum {
|
||||
#define ENOEXEC B_NOT_AN_EXECUTABLE
|
||||
#define EPIPE B_BUSTED_PIPE
|
||||
|
||||
/*---- new error codes that can be mapped to POSIX errors ----*/
|
||||
#define B_BUFFER_OVERFLOW EOVERFLOW
|
||||
#define B_NOT_SUPPORTED EOPNOTSUPP
|
||||
#define B_TOO_MANY_ARGS E2BIG
|
||||
#define B_FILE_TOO_LARGE EFBIG
|
||||
#define B_RESULT_TOO_LARGE ERANGE
|
||||
#define B_DEVICE_NOT_FOUND ENODEV
|
||||
|
||||
/*-------------------------------------------------------------*/
|
||||
/*----- Media Kit Errors --------------------------------------*/
|
||||
enum {
|
||||
|
||||
Reference in New Issue
Block a user