aboutsummaryrefslogtreecommitdiff
path: root/libio/iostrerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/iostrerror.c')
-rw-r--r--libio/iostrerror.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/libio/iostrerror.c b/libio/iostrerror.c
new file mode 100644
index 00000000000..65aa25d5e4e
--- /dev/null
+++ b/libio/iostrerror.c
@@ -0,0 +1,12 @@
+/* This should be replaced by whatever namespace-clean
+ version of strerror you have available. */
+
+#include "libioP.h"
+extern char *strerror __P ((int));
+
+char *
+DEFUN(_IO_strerror, (errnum),
+ int errnum)
+{
+ return strerror(errnum);
+}