diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-12-29 23:37:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-01-30 20:52:20 +0100 |
| commit | b98f55b806f9dfe9e9374faceed99b689c29f28e (patch) | |
| tree | 5c626761e0814ae7b9434a5fc66b1e2100743893 /include/ext4_errno.h | |
| parent | 3dc752da8948564456ce2d721c266b4e1a50e7a1 (diff) | |
Return platform-specific errors via ext4_blockdev_errno2400-ext-errors
Diffstat (limited to 'include/ext4_errno.h')
| -rw-r--r-- | include/ext4_errno.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ext4_errno.h b/include/ext4_errno.h index edf89a9..6735eaf 100644 --- a/include/ext4_errno.h +++ b/include/ext4_errno.h @@ -41,6 +41,7 @@ extern "C" { #endif #include "ext4_config.h" +#include <stdint.h> #if !CONFIG_HAVE_OWN_ERRNO #include <errno.h> @@ -84,6 +85,9 @@ extern "C" { #define EOK 0 #endif +/* Platform-specific error code from the last OS API call that was made */ +extern uint32_t ext4_platform_errno; + #ifdef __cplusplus } #endif |
