manual: Update to mention ENODEV for ttyname and ttyname_r

Commit 15e9a4f378 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>
This commit is contained in:
Luke Shumaker 2017-11-15 20:28:40 +01:00 committed by Christian Brauner
parent 78cde19f62
commit 495a56fdeb
No known key found for this signature in database
GPG Key ID: 7B3C391EFEA93624
2 changed files with 10 additions and 0 deletions

View File

@ -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

View 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