Mercurial > hg > octave-kai > gnulib-hg
view doc/posix-functions/strerror_r.texi @ 10876:c83dc7e8df57
Refer to new POSIX:2008 standard.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 14 Dec 2008 14:38:13 +0100 |
parents | 070329237839 |
children | bb0ceefd22dc |
line wrap: on
line source
@node strerror_r @section @code{strerror_r} @findex strerror_r POSIX specification: @url{http://www.opengroup.org/onlinepubs/9699919799/functions/strerror_r.html} Gnulib module: --- Portability problems fixed by Gnulib: @itemize @end itemize Portability problems not fixed by Gnulib: @itemize @item This function is missing on some platforms: NetBSD 3.0, HP-UX 11, IRIX 6.5, Solaris 9, mingw. @item glibc has an incompatible version of this function. The POSIX compliant code @smallexample char *s = (strerror_r (err, buf, buflen) == 0 ? buf : NULL); @end smallexample is essentially equivalent to this code using the glibc function: @smallexample char *s = strerror_r (err, buf, buflen); @end smallexample @end itemize