From 7676eafe87909b7d1943b9b6395b72158ec08cb7 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 16 Jun 2017 09:45:03 +0200 Subject: [PATCH] ptsname.3: Since glibc 2.26, ptsname_r() no longer gives EINVAL for buf==NULL Reported-by: Arjun Shankar Signed-off-by: Michael Kerrisk --- man3/ptsname.3 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man3/ptsname.3 b/man3/ptsname.3 index 0ce88a171..05f4958ed 100644 --- a/man3/ptsname.3 +++ b/man3/ptsname.3 @@ -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