ptsname.3: Since glibc 2.26, ptsname_r() no longer gives EINVAL for buf==NULL

Reported-by: Arjun Shankar <arjun.is@lostca.se>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-06-16 09:45:03 +02:00
parent c2ba3716a9
commit 7676eafe87
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ is set to indicate the error.
only)
.I buf
is NULL.
(This error is returned only for
.\" glibc commit 8f0a947cf55f3b0c4ebdf06953c57eff67a22fa9
glibc 2.25 and earlier.)
.TP
.B ENOTTY
.I fd