]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: Update to mention ENODEV for ttyname and ttyname_r
authorLuke Shumaker <lukeshu@parabola.nu>
Wed, 15 Nov 2017 19:28:40 +0000 (20:28 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 22 Dec 2017 14:23:29 +0000 (15:23 +0100)
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)

ChangeLog
manual/terminal.texi

index 55a17414ab0d6eaf4d2d94aba4a133ac8efbb614..56b25337fb7f6bb1b39438eee12a30a93c7fd02a 100644 (file)
--- 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]
index 4fef5045b845f9b717eeadd86821cc2a20a36041..4aace48b140345331bf09d811433990cfec2ca54 100644 (file)
@@ -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