/*
**    Name: cserrno.h
**
**    Purpose: errno values used by CLibSupport.
**
**    The Acorn C library's errno.h only defines the ANSI values (EDOM,
**    ERANGE, ESIGNUM, and EILSEQ/EOVERFLOW in later releases). The rest
**    take the TCPIPLibs sys/errno.h numbers, so they match code that
**    includes that header.
*/

#ifndef CSERRNO_H
#define CSERRNO_H

#include <errno.h>

#ifndef ENOENT
#define ENOENT          2
#endif
#ifndef EIO
#define EIO             5
#endif
#ifndef EBADF
#define EBADF           9
#endif
#ifndef ENOMEM
#define ENOMEM          12
#endif
#ifndef EINVAL
#define EINVAL          22
#endif

#endif
