--- man3/ttyname.3 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/man3/ttyname.3 b/man3/ttyname.3 index 14c24e7..0be50c6 100644 --- a/man3/ttyname.3 +++ b/man3/ttyname.3 @@ -71,6 +71,11 @@ File descriptor does not refer to a terminal device. .RB ( ttyname_r ()) .I buflen was too small to allow storing the pathname. +.TP +.\" glibc commit 15e9a4f378c8607c2ae1aa465436af4321db0e23 +.B ENODEV +File descriptor refers to a slave pseudoterminal device +but the corresponding pathname could not be found. .SH ATTRIBUTES For an explanation of the terms used in this section, see .BR attributes (7). @@ -92,4 +97,5 @@ POSIX.1-2001, POSIX.1-2008, 4.2BSD. .BR tty (1), .BR fstat (2), .BR ctermid (3), -.BR isatty (3) +.BR isatty (3), +.BR pts (4) -- ldv -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html