Browse Source

Obligatory forgotten file... sys_errlist garbage.

Manuel Novoa III 22 years ago
parent
commit
9af5ab649e
1 changed files with 12 additions and 0 deletions
  1. 12 0
      include/stdio.h

+ 12 - 0
include/stdio.h

@@ -544,6 +544,18 @@ extern int ferror_unlocked (FILE *__stream) __THROW;
 /* Print a message describing the meaning of the value of errno.  */
 extern void perror (__const char *__s) __THROW;
 
+/* These variables normally should not be used directly.  The `strerror'
+   function provides all the needed functionality.  */
+#ifdef	__USE_BSD
+extern int sys_nerr;
+extern __const char *__const sys_errlist[];
+#endif
+#if 0
+/*  #ifdef	__USE_GNU */
+extern int _sys_nerr;
+extern __const char *__const _sys_errlist[];
+#endif
+
 
 #ifdef	__USE_POSIX
 /* Return the system file descriptor for STREAM.  */