summaryrefslogtreecommitdiffstats
path: root/newlib/libc/string
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/string')
-rw-r--r--newlib/libc/string/strerror.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/newlib/libc/string/strerror.c b/newlib/libc/string/strerror.c
index 73660f076..043763141 100644
--- a/newlib/libc/string/strerror.c
+++ b/newlib/libc/string/strerror.c
@@ -283,6 +283,9 @@ State not recoverable
o EOWNERDEAD
Previous owner died
+o ESTRPIPE
+Strings pipe error
+
o-
RETURNS
@@ -760,6 +763,11 @@ _DEFUN (strerror, (errnum),
error = "Previous owner died";
break;
#endif
+#ifdef ESTRPIPE
+ case ESTRPIPE:
+ error = "Streams pipe error";
+ break;
+#endif
#if defined(EOPNOTSUPP) && (!defined(ENOTSUP) || (ENOTSUP != EOPNOTSUPP))
case EOPNOTSUPP:
error = "Operation not supported on socket";