haiku/headers/private/fs_shell/fssh_errno.h
Ingo Weinhold a38a92c955 Beginnings of a new, better portable FS shell with Haiku FS interface.
Doesn't do anything ATM, but already provides the required system
interface (VFS, caches, POSIX functions).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-04-27 12:17:22 +00:00

26 lines
426 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_errnop(void);
#define fssh_errno (*(_fssh_errnop()))
extern int fssh_get_errno(void);
extern void fssh_set_errno(int error);
#ifdef __cplusplus
} /* "C" */
#endif
#endif /* _FSSH_ERRNO_H */