Files
haiku-beta6/headers/private/fs_shell/fssh_errno.h
T
Augustin Cavalier 816181bc95 fs_shell: Adjust to work with the new libroot_build errno setup.
I rebuilt fs_shell after the previous commit before pushing,
but it didn't fail then. I guess Jam failed to do an incremental
rebuild properly...
2026-04-09 14:14:00 -04:00

27 lines
462 B
C

#ifndef _FSSH_ERRNO_H
#define _FSSH_ERRNO_H
#ifdef __cplusplus
extern "C"
{
#endif
#include "fssh_errors.h"
#define FSSH_ENOERR 0
#define FSSH_EOK FSSH_ENOERR /* some code assumes EOK exists */
extern int _fssh_errno(void);
#define fssh_errno (_fssh_errno())
extern int fssh_get_errno(void);
extern void fssh_set_errno(int error);
extern int fssh_to_host_error(int error);
#ifdef __cplusplus
} /* "C" */
#endif
#endif /* _FSSH_ERRNO_H */