Branch
Hash :
9829f0a9
Author :
Date :
2025-02-05T13:24:41
errno-h: document Haiku errors can’t be -1 * doc/posix-headers/errno.texi: Document Haiku errno range.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
@node errno.h
@section @file{errno.h}
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/errno.h.html}
Gnulib module: errno-h
@mindex errno-h
Portability problems fixed by Gnulib:
@itemize
@item
The macro @code{EOVERFLOW} is not defined
on some platforms:
OpenBSD 4.0, mingw, MSVC 9.
@item
The macro @code{ENOLINK} is not defined
on some platforms:
OpenBSD 7.5, mingw, MSVC 9.
@item
The macro @code{EMULTIHOP} is not defined
on some platforms:
OpenBSD 7.5, mingw, MSVC 14.
@item
The macro @code{ECANCELED} is not defined on some platforms:
OpenBSD 4.0, Cygwin, mingw, MSVC 9.
@item
The macros @code{ENOMSG}, @code{EIDRM}, @code{EPROTO}, @code{EBADMSG},
@code{ENOTSUP} are not defined on some platforms:
OpenBSD 4.0, mingw, MSVC 9.
@item
The macro @code{ESTALE} is not defined on some platforms:
mingw, MSVC 14.
@item
The macro @code{EDQUOT} is not defined on some platforms:
NonStop Kernel, mingw, MSVC 14.
@item
The macros @code{ENETRESET}, @code{ECONNABORTED} are not defined on some
platforms:
Minix 3.1.8, mingw, MSVC 9.
@item
The macros @code{EWOULDBLOCK}, @code{ETXTBSY}, @code{ELOOP}, @code{ENOTSOCK},
@code{EDESTADDRREQ}, @code{EMSGSIZE}, @code{EPROTOTYPE}, @code{ENOPROTOOPT},
@code{EPROTONOSUPPORT}, @code{EOPNOTSUPP}, @code{EAFNOSUPPORT},
@code{EADDRINUSE}, @code{EADDRNOTAVAIL}, @code{ENETDOWN}, @code{ENETUNREACH},
@code{ECONNRESET}, @code{ENOBUFS}, @code{EISCONN}, @code{ENOTCONN},
@code{ETIMEDOUT}, @code{ECONNREFUSED}, @code{EHOSTUNREACH}, @code{EALREADY},
@code{EINPROGRESS} are not defined on some platforms:
mingw, MSVC 9.
@item
The macros @code{EOWNERDEAD}, @code{ENOTRECOVERABLE} are not defined on
some platforms:
glibc/Linux 2.3.6, glibc/Hurd 2.15, glibc/kFreeBSD 2.15,
Mac OS X 10.5, FreeBSD 6.0, NetBSD 9.3, OpenBSD 6.0, Minix 3.1.8, AIX 5.1, HP-UX 11, Cygwin, mingw without pthreads-win32, MSVC 9.
@item
The macro @code{ESOCKTNOSUPPORT} is not defined on some platforms:
@c https://dev.haiku-os.org/ticket/19347
Haiku.
@item
The macro @code{EILSEQ} is not defined on some platforms:
LynxOS 178 2.2.2.
@item
The macros @code{EEXIST} and @code{ENOTEMPTY} have the same value on
some platforms:
AIX 7.3.
@end itemize
Portability problems not fixed by Gnulib:
@itemize
@item
Error numbers are in the range @code{INT_MIN} through @code{INT_MIN + 0xffff},
instead of being positive as POSIX requires:
Haiku.
@end itemize