summaryrefslogtreecommitdiffstats
path: root/gnu/lib/libg++/libio/iostrerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/lib/libg++/libio/iostrerror.c')
-rw-r--r--gnu/lib/libg++/libio/iostrerror.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gnu/lib/libg++/libio/iostrerror.c b/gnu/lib/libg++/libio/iostrerror.c
new file mode 100644
index 0000000..2833fc7
--- /dev/null
+++ b/gnu/lib/libg++/libio/iostrerror.c
@@ -0,0 +1,11 @@
+/* This should be replaced by whatever namespace-clean
+ version of strerror you have available. */
+
+extern char *strerror();
+
+char *
+_IO_strerror(errnum)
+ int errnum;
+{
+ return strerror(errnum);
+}
OpenPOWER on IntegriCloud