summaryrefslogtreecommitdiff
path: root/include/stdio.h
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-08-27 19:42:55 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-08-27 19:42:55 +0000
commit9af5ab649e9e74c2af6f1a7d321c51147714d834 (patch)
treed10907a90d61cab6fa575ace8a425cbc8954919d /include/stdio.h
parenta74fc341b922f38161d10a9470b63ad537e13f07 (diff)
Obligatory forgotten file... sys_errlist garbage.
Diffstat (limited to 'include/stdio.h')
-rw-r--r--include/stdio.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 01b62c1eb..3e27707ae 100644
--- a/include/stdio.h
+++ b/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. */