about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-11-15 20:28:40 +0100
committerFlorian Weimer <fweimer@redhat.com>2017-12-22 15:23:29 +0100
commit58a63062a04c05a0e0633e0cdbf315a57cc88b5d (patch)
tree22a8f221f1c92ad214a851e372ccbf43f958c19d
parent5da0de4de5e8b9576475432b94fa0a486fd9389f (diff)
downloadglibc-58a63062a04c05a0e0633e0cdbf315a57cc88b5d.tar.gz
glibc-58a63062a04c05a0e0633e0cdbf315a57cc88b5d.tar.xz
glibc-58a63062a04c05a0e0633e0cdbf315a57cc88b5d.zip
manual: Update to mention ENODEV for ttyname and ttyname_r
Commit 15e9a4f378c8607c2ae1aa465436af4321db0e23 introduced ENODEV as a possible
error condition for ttyname and ttyname_r. Update the manual to mention this GNU
extension.

Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
(cherry picked from commit 495a56fdeb05d20a88304ff5da577d23a8e81ae1)
-rw-r--r--ChangeLog5
-rw-r--r--manual/terminal.texi5
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 55a17414ab..56b25337fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-11-15  Luke Shumaker  <lukeshu@parabola.nu>
+
+	* manual/terminal.texi (Is It a Terminal):
+	Mention ENODEV for ttyname and ttyname_r.
+
 2017-12-14  Florian Weimer  <fweimer@redhat.com>
 
 	[BZ #22607]
diff --git a/manual/terminal.texi b/manual/terminal.texi
index 4fef5045b8..4aace48b14 100644
--- a/manual/terminal.texi
+++ b/manual/terminal.texi
@@ -109,6 +109,11 @@ The @var{filedes} is not associated with a terminal.
 @item ERANGE
 The buffer length @var{len} is too small to store the string to be
 returned.
+
+@item ENODEV
+The @var{filedes} is associated with a terminal device that is a slave
+pseudo-terminal, but the file name associated with that device could
+not be determined.  This is a GNU extension.
 @end table
 @end deftypefun