4 * netlib.h - common Network Support Library definitions
6 * Copyright © 1994 AmiTCP/IP Group,
7 * Network Solutions Development Inc.
12 * This is supposed to be compiler-independent error setting interface
17 extern int __io2errno(int);
18 #define __seterrno(x) do { errno = __io2errno(_OSERR = (x)); } while (0)
19 #define SET_OSERR(code) do { _OSERR = (code); } while (0)
21 void __seterrno(UBYTE code
);
22 #define SET_OSERR(code) do { } while (0)
25 #define set_errno __seterrno