linux ttyname: Update a reference to kernel docs for kernel 4.10

Linux 4.10 moved many of the documentation files around.

4.10 came out between the time the patch adding the comment (commit
15e9a4f378) was submitted and the time
it was applied (in February, January, and March 2017; respectively).

Reviewed-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Luke Shumaker 2017-11-15 20:31:32 +01:00 committed by Christian Brauner
parent 495a56fdeb
commit 9b5a87502d
No known key found for this signature in database
GPG Key ID: 7B3C391EFEA93624
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
* sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
* manual/terminal.texi (Is It a Terminal):
Mention ENODEV for ttyname and ttyname_r.

View File

@ -21,7 +21,8 @@
#include <sys/stat.h>
/* Return true if this is a UNIX98 pty device, as defined in
linux/Documentation/devices.txt. */
linux/Documentation/devices.txt (on linux < 4.10) or
linux/Documentation/admin-guide/devices.txt (on linux >= 4.10). */
static inline int
is_pty (struct stat64 *sb)
{