/* sys/errnox.h - Global error translation table -- emx-OS/2-gcc
    This code is released into Public Domain. */
/* $Id: errnox.h,v 1.3 2000/05/15 09:47:47 veit Exp $ */

#ifndef _SYS_ERRNOX_H_
#define _SYS_ERRNOX_H_

#ifndef _OS2_H
# warning First appropiately include <os2.h> !
# define INCL_BASE
# define OS2_API32
# define INCL_DOS
# include <os2.h>
#endif
#ifndef _ERRNO_H
# warning First include <errno.h> !
# include <errno.h>
#endif

#ifdef	__cplusplus
extern "C" {
#endif

extern unsigned __const__ char __errnox_sysErr2ErrnoTab[348];

extern unsigned __const__ char _rc2Errno(APIRET rc);

#ifdef	__cplusplus
}
#endif

#ifdef _DEBUG
# include <sys/debugx.h>
#endif

#endif /* _SYS_ERRNOX_H_*/
