Lines Matching refs:sys_nerr
22 /* Enable declaration of sys_nerr and sys_errlist in <errno.h> on NetBSD. */
66 /* Get sys_nerr, sys_errlist on HP-UX (otherwise only declared in C++ mode).
67 Get sys_nerr, sys_errlist on IRIX (otherwise only declared with _SGIAPI). */
69 extern int sys_nerr;
73 /* Get sys_nerr on Solaris. */
75 extern int sys_nerr;
245 /* NetBSD: sys_nerr, sys_errlist are declared through _NETBSD_SOURCE
247 HP-UX: sys_nerr, sys_errlist are declared explicitly above.
248 native Windows: sys_nerr, sys_errlist are declared in <stdlib.h>.
249 Cygwin: sys_nerr, sys_errlist are declared in <errno.h>. */
250 if (errnum >= 0 && errnum < sys_nerr)
286 if (errnum >= 0 && errnum < sys_nerr)