2002-07-09 16:24:59 +04:00
|
|
|
/*
|
|
|
|
* errno.h
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _POSIX_ERRNO_H
|
|
|
|
#define _POSIX_ERRNO_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
2002-07-12 18:57:37 +04:00
|
|
|
#include <Errors.h>
|
|
|
|
|
|
|
|
#define ENOERR 0
|
|
|
|
#define EOK ENOERR /* some code assumes EOK exists */
|
2002-07-09 16:24:59 +04:00
|
|
|
|
|
|
|
/* XXX - Fix this once TLS works */
|
|
|
|
extern int errno;
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _POSIX_ERRNO_H */
|