aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2005-06-16 16:09:25 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2005-06-16 16:09:25 +0000
commitb99cf1e0e851a535e51a19c7ce7e1936030fcb3a (patch)
treee31a0c370d02311946bd0412b8369574c9986d03
parent2a019416303ac64d91e469eca940d4afb06ebadc (diff)
downloadman-pages-b99cf1e0e851a535e51a19c7ce7e1936030fcb3a.tar.gz
strerror_r(3) requires #define _XOPEN_SOURCE 600
-rw-r--r--man3/strerror.35
1 files changed, 4 insertions, 1 deletions
diff --git a/man3/strerror.3 b/man3/strerror.3
index a7a7ed5710..a20998a95b 100644
--- a/man3/strerror.3
+++ b/man3/strerror.3
@@ -39,7 +39,10 @@ strerror, strerror_r \- return string describing error code
.B #include <string.h>
.sp
.BI "char *strerror(int " errnum );
-.br
+.sp
+.B #define _XOPEN_SOURCE 600
+.B #include <string.h>
+.sp
.BI "int strerror_r(int " errnum ", char *" buf ", size_t " n );
.fi
.SH DESCRIPTION