summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-11-15 20:28:40 +0100
committerChristian Brauner <christian.brauner@ubuntu.com>2017-11-15 20:46:45 +0100
commit495a56fdeb05d20a88304ff5da577d23a8e81ae1 (patch)
treecd840cbf1964a295f3de3b490d701937babd3646 /manual
parent78cde19f622cab74e3953c3d0139d51e1076108e (diff)
downloadglibc-495a56fdeb05d20a88304ff5da577d23a8e81ae1.tar.gz
glibc-495a56fdeb05d20a88304ff5da577d23a8e81ae1.tar.xz
glibc-495a56fdeb05d20a88304ff5da577d23a8e81ae1.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>
Diffstat (limited to 'manual')
-rw-r--r--manual/terminal.texi5
1 files changed, 5 insertions, 0 deletions
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