public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ptsname.3: ERRORS: remove EINVAL
@ 2017-06-08 12:52 Arjun Shankar
       [not found] ` <20170608125218.GA80475-dUzzAJbwTVHDVYEGADRjmA@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Arjun Shankar @ 2017-06-08 12:52 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Zack Weinberg, Joseph Myers,
	Florian Weimer

The glibc implementation of 'ptsname_r' no longer checks if it has
been called with a NULL 'buf' [1], and therefore cannot return an
EINVAL error.

[1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=8f0a947
    (prior to the release of glibc 2.26)

Signed-off-by: Arjun Shankar <arjun.is-xDe9EDckjEKzQB+pC5nmwQ@public.gmane.org>
---
 man3/ptsname.3 | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/man3/ptsname.3 b/man3/ptsname.3
index 90133fe..fd98b6b 100644
--- a/man3/ptsname.3
+++ b/man3/ptsname.3
@@ -58,12 +58,6 @@ is set to indicate the error.
 .\" result -- MTK, Dec 04
 .SH ERRORS
 .TP
-.B EINVAL
-.RB ( ptsname_r ()
-only)
-.I buf
-is NULL.
-.TP
 .B ENOTTY
 .I fd
 does not refer to a pseudoterminal master device.
-- 
2.9.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-16  7:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-08 12:52 [PATCH] ptsname.3: ERRORS: remove EINVAL Arjun Shankar
     [not found] ` <20170608125218.GA80475-dUzzAJbwTVHDVYEGADRjmA@public.gmane.org>
2017-06-16  7:46   ` Michael Kerrisk (man-pages)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox