The function strerror() is not thread safe. Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx> --- man3/strerror.3 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/man3/strerror.3 b/man3/strerror.3 index 60d3112..d93bc8a 100644 --- a/man3/strerror.3 +++ b/man3/strerror.3 @@ -172,6 +172,15 @@ is not a valid error number. .TP .B ERANGE Insufficient storage was supplied to contain the error description string. +.SH ATTRIBUTES +.SS Multithreading (see pthreads(7)) +The +.BR strerror () +function is not thread-safe. +.LP +The +.BR strerror_r () +function is thread-safe. .SH CONFORMING TO .BR strerror () is specified by POSIX.1-2001, C89, C99. -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html