81076717b2624d2894ba07dbe263b88cd1bd6ed9
[gnulib.git] / doc / posix-functions / strerror_r.texi
1 @node strerror_r
2 @section @code{strerror_r}
3 @findex strerror_r
4
5 POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/strerror_r.html}
6
7 Gnulib module: ---
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @end itemize
12
13 Portability problems not fixed by Gnulib:
14 @itemize
15 @item
16 This function is missing on some platforms:
17 NetBSD 3.0, HP-UX 11, IRIX 6.5, Solaris 9, mingw.
18 @item
19 glibc has an incompatible version of this function.  The POSIX compliant code
20 @smallexample
21 char *s = (strerror_r (err, buf, buflen) == 0 ? buf : NULL);
22 @end smallexample
23 is essentially equivalent to this code using the glibc function:
24 @smallexample
25 char *s = strerror_r (err, buf, buflen);
26 @end smallexample
27 @end itemize