aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/ttyname.310
1 files changed, 5 insertions, 5 deletions
diff --git a/man3/ttyname.3 b/man3/ttyname.3
index 6641894594..0e5e27e52a 100644
--- a/man3/ttyname.3
+++ b/man3/ttyname.3
@@ -64,6 +64,11 @@ returns 0 on success, and an error number upon error.
.B EBADF
Bad file descriptor.
.TP
+.\" glibc commit 15e9a4f378c8607c2ae1aa465436af4321db0e23
+.B ENODEV
+File descriptor refers to a slave pseudoterminal device
+but the corresponding pathname could not be found (see NOTES).
+.TP
.B ENOTTY
File descriptor does not refer to a terminal device.
.TP
@@ -71,11 +76,6 @@ File descriptor does not refer to a terminal device.
.RB ( ttyname_r ())
.I buflen
was too small to allow storing the pathname.
-.TP
-.\" glibc commit 15e9a4f378c8607c2ae1aa465436af4321db0e23
-.B ENODEV
-File descriptor refers to a slave pseudoterminal device
-but the corresponding pathname could not be found (see NOTES).
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).