X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fposix-functions%2Fstrerror_r.texi;h=e0f19c01ef8bb65ff2b5c66e2fe45c5a43761df1;hb=e67e250d98e9dc0177a564f2cbfa99330902fe9e;hp=21e41811868b330608d32180620dac6362381581;hpb=2f0357585d836b7349192ea4276b78adfd551cbc;p=gnulib.git diff --git a/doc/posix-functions/strerror_r.texi b/doc/posix-functions/strerror_r.texi index 21e418118..e0f19c01e 100644 --- a/doc/posix-functions/strerror_r.texi +++ b/doc/posix-functions/strerror_r.texi @@ -51,15 +51,21 @@ This function always fails when the third argument is less than 80 on some platforms: HP-UX 11.31. @item -When the buffer is too small, this function does not fail, but instead -truncates the result and returns 0 on some platforms: -OSF/1 5.1. +When the buffer is too small and the value is in range, this function +does not fail, but instead truncates the result and returns 0 on some +platforms: +AIX 6.1, OSF/1 5.1. +@item +When the value is not in range or the buffer is too small, this +function fails to leave a NUL-terminated string in the buffer on some +platforms: +glibc 2.13, FreeBSD 8.2, Solaris 10. @end itemize Portability problems not fixed by Gnulib: @itemize @item -When the buffer is too small, this function does not fail, but instead -truncates the result and returns 0 on some platforms: -AIX 6.1. +Calling this function can clobber the buffer used by @code{strerror} +on some platforms: +Cygwin 1.7.9. @end itemize