Files
haiku-beta6/headers/posix/errno.h
T

26 lines
339 B
C
Raw Normal View History

2002-07-09 12:24:59 +00:00
/*
* errno.h
*/
#ifndef _POSIX_ERRNO_H
#define _POSIX_ERRNO_H
#ifdef __cplusplus
extern "C"
{
#endif
#include <Errors.h>
#define ENOERR 0
#define EOK ENOERR /* some code assumes EOK exists */
2002-07-09 12:24:59 +00:00
extern int *_errnop(void);
#define errno (*(_errnop()))
2002-07-09 12:24:59 +00:00
#ifdef __cplusplus
} /* "C" */
#endif
#endif /* _POSIX_ERRNO_H */