summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-02-24 10:53:24 +0100
committerBruno Haible <bruno@clisp.org>2018-02-24 10:53:24 +0100
commit262981295f31caebf08b2bfc30bf40239e117d7d (patch)
tree75d6620cdb5cc45508bd1dc018a884c86f1e1ba8 /doc
parent9ce5bc4970fb44573fc52d8f885f831cf09f8768 (diff)
downloadgnulib-262981295f31caebf08b2bfc30bf40239e117d7d.tar.gz
ptsname_r: Don't expect that this function sets errno.
* tests/test-ptsname_r.c (test_errors): Don't test errno after return from ptsname_r(). * doc/glibc-functions/ptsname_r.texi: Mention the issue.
Diffstat (limited to 'doc')
-rw-r--r--doc/glibc-functions/ptsname_r.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/glibc-functions/ptsname_r.texi b/doc/glibc-functions/ptsname_r.texi
index 810908507a..979a0904bd 100644
--- a/doc/glibc-functions/ptsname_r.texi
+++ b/doc/glibc-functions/ptsname_r.texi
@@ -22,4 +22,8 @@ OSF/1 5.1.
Portability problems not fixed by Gnulib:
@itemize
+@item
+When this functions fails, it provides the error code only as the
+return value, without setting @code{errno}, on some platforms:
+musl libc.
@end itemize