/* @(#) $Revision: ../hdr/errno.h@@/main/i80/CHECKEDOUT $ */
#ifndef _ERRNO_INCLUDED /* allow multiple inclusions */
#define _ERRNO_INCLUDED

#ifndef _SYS_STDSYMS_INCLUDED
#  include <sys/stdsyms.h>
#endif /* _SYS_STDSYMS_INCLUDED */

#ifdef _REENTRANT

#  ifdef __cplusplus
extern "C" {
#  endif /* __cplusplus */

#ifdef _PROTOTYPES
extern int *__errno(void);
#else 
extern int *__errno();
#endif 

#define	errno (*__errno())

#  ifdef __cplusplus
}
#  endif /* __cplusplus */

#else
	extern int errno;
#endif
#include <sys/errno.h>

#  ifdef __cplusplus

extern "C" {
_NAMESPACE_STD_START
    extern void perror(const char*);
    extern char *strerror (int);
_NAMESPACE_STD_END
    extern int sys_nerr;
    extern char *sys_errlist[];
}

#  endif


#endif /* _ERRNO_INCLUDED */
