summaryrefslogtreecommitdiff
path: root/string/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'string/string.h')
-rw-r--r--string/string.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/string/string.h b/string/string.h
index 0119d7f45d..b0be00c0f7 100644
--- a/string/string.h
+++ b/string/string.h
@@ -428,6 +428,13 @@ extern int __xpg_strerror_r (int __errnum, char *__buf, size_t __buflen)
extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
__THROW __nonnull ((2)) __wur __attr_access ((__write_only__, 2, 3));
# endif
+
+# ifdef __USE_GNU
+/* Return a string describing the meaning of tthe error in ERR. */
+extern const char *strerrordesc_np (int __err) __THROW;
+/* Return a string with the error name in ERR. */
+extern const char *strerrorname_np (int __err) __THROW;
+# endif
#endif
#ifdef __USE_XOPEN2K8