Add new error codes B_PARTIAL_{READ,WRITE}
This commit is contained in:
@@ -133,7 +133,9 @@ enum {
|
||||
B_LINK_LIMIT,
|
||||
B_BUSTED_PIPE,
|
||||
B_UNSUPPORTED,
|
||||
B_PARTITION_TOO_SMALL
|
||||
B_PARTITION_TOO_SMALL,
|
||||
B_PARTIAL_READ,
|
||||
B_PARTIAL_WRITE,
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2007-2009, Haiku, Inc. All Rights Reserved.
|
||||
* Copyright 2007-2014, Haiku, Inc. All Rights Reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _ERRORS_H
|
||||
@@ -115,6 +115,8 @@
|
||||
#define B_BUSTED_PIPE (B_STORAGE_ERROR_BASE + 13)
|
||||
#define B_UNSUPPORTED (B_STORAGE_ERROR_BASE + 14)
|
||||
#define B_PARTITION_TOO_SMALL (B_STORAGE_ERROR_BASE + 15)
|
||||
#define B_PARTIAL_READ (B_STORAGE_ERROR_BASE + 16)
|
||||
#define B_PARTIAL_WRITE (B_STORAGE_ERROR_BASE + 17)
|
||||
|
||||
/* POSIX Errors */
|
||||
#ifdef B_USE_POSITIVE_POSIX_ERRORS
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2007-2010, Ingo Weinhold, [email protected].
|
||||
* Copyright 2007-2014, Ingo Weinhold, [email protected].
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _FSSH_API_WRAPPER_H
|
||||
@@ -573,6 +573,8 @@
|
||||
#define B_BUSTED_PIPE FSSH_B_BUSTED_PIPE
|
||||
#define B_UNSUPPORTED FSSH_B_UNSUPPORTED
|
||||
#define B_PARTITION_TOO_SMALL FSSH_B_PARTITION_TOO_SMALL
|
||||
#define B_PARTIAL_READ FSSH_B_PARTIAL_READ
|
||||
#define B_PARTIAL_WRITE FSSH_B_PARTIAL_WRITE
|
||||
|
||||
/* POSIX Errors */
|
||||
#define E2BIG FSSH_E2BIG
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2007, Haiku, Inc. All Rights Reserved.
|
||||
* Copyright 2007-2014, Haiku, Inc. All Rights Reserved.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _FSSH_ERRORS_H
|
||||
@@ -111,6 +111,8 @@ enum {
|
||||
#define FSSH_B_BUSTED_PIPE (FSSH_B_STORAGE_ERROR_BASE + 13)
|
||||
#define FSSH_B_UNSUPPORTED (FSSH_B_STORAGE_ERROR_BASE + 14)
|
||||
#define FSSH_B_PARTITION_TOO_SMALL (FSSH_B_STORAGE_ERROR_BASE + 15)
|
||||
#define FSSH_B_PARTIAL_READ (FSSH_B_STORAGE_ERROR_BASE + 16)
|
||||
#define FSSH_B_PARTIAL_WRITE (FSSH_B_STORAGE_ERROR_BASE + 17)
|
||||
|
||||
/* POSIX Errors */
|
||||
#define FSSH_E2BIG (FSSH_B_POSIX_ERROR_BASE + 1)
|
||||
|
||||
Reference in New Issue
Block a user