afe886fc48
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@136 a95241bf-73f2-0310-859d-f6bbb57e9c96
26 lines
337 B
C
26 lines
337 B
C
/*
|
|
* 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 */
|
|
|
|
/* XXX - Fix this once TLS works */
|
|
extern int errno;
|
|
|
|
#ifdef __cplusplus
|
|
} /* "C" */
|
|
#endif
|
|
|
|
#endif /* _POSIX_ERRNO_H */
|