diff options
Diffstat (limited to 'include/zix/common.h')
-rw-r--r-- | include/zix/common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/zix/common.h b/include/zix/common.h index 5919fa9..c0944b5 100644 --- a/include/zix/common.h +++ b/include/zix/common.h @@ -33,6 +33,11 @@ ZIX_CONST_API const char* zix_strerror(ZixStatus status); +/// Return an errno value converted to a status code +ZIX_CONST_API +ZixStatus +zix_errno_status(int e); + /// Function for comparing two elements typedef int (*ZixComparator)(const void* a, const void* b, |