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)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 15 Nov 2017 19:46:45 +0000 (20:46 +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>
ChangeLog
manual/terminal.texi

index f8f46ae..7916ad6 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-11-15  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
index 4fef504..4aace48 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