From 6ba832b158c91c6b35e1832220b3fc5ebf76333f Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Mon, 17 Jun 2002 19:49:02 +0000 Subject: Implement strerror_r. This is per SuSv3, not glibc which does something different. -Erik --- include/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/string.h') 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 -- cgit v1.2.3