summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-06-17 19:49:02 +0000
committerEric Andersen <andersen@codepoet.org>2002-06-17 19:49:02 +0000
commit6ba832b158c91c6b35e1832220b3fc5ebf76333f (patch)
treeda543c5d45af47e6b50358db49dfcd12af62663c /include
parente53425a64572ee32e71eb4e77ded3b6e813634bc (diff)
Implement strerror_r. This is per SuSv3, not glibc which does
something different. -Erik
Diffstat (limited to 'include')
-rw-r--r--include/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h
index 22608b660..6149955ef 100644
--- a/include/string.h
+++ b/include/string.h
@@ -235,7 +235,7 @@ extern char *strerror (int __errnum) __THROW;
#ifdef __USE_MISC
/* Reentrant version of `strerror'. If a temporary buffer is required, at
most BUFLEN bytes of BUF will be used. */
-extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) __THROW;
+extern int strerror_r (int __errnum, char *__buf, size_t buflen) __THROW;
#endif
/* We define this function always since `bzero' is sometimes needed when