compiler/clib: Rename IoErr2errno() to __arosc_ioerr2errno(); function is now defined...
[AROS.git] / compiler / clib / include / errno.h
blobf1465201cbcfe8398c688fd50e08d0d6cee021e6
1 #ifndef _ERRNO_H_
2 #define _ERRNO_H_
4 /*
5 Copyright © 1995-2012, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: ANSI-C header file errno.h
9 Lang: english
12 #include <sys/errno.h>
14 /* AROS specific functions to translate DOS error numbers to errno.
15 ioerrno2errno() will always call the function for the selected C
16 linklib, __arosc_ioerr2errno() is always the arosc.library version.
18 int ioerr2errno(int ioerr);
19 int __arosc_ioerr2errno(int ioerr);
21 #define EDEADLOCK EDEADLK
22 #define ENOTSUP EOPNOTSUPP
23 #define MAX_ERRNO ELAST /* Last errno */
25 #endif /* _ERRNO_H_ */