aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-09-27 13:28:50 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-09-27 14:18:08 +0200
commit49a2a1052b8a8d8caec29b81c698b3af29d9ccf3 (patch)
tree9251336aefe0c099152a8b0e7a705e682240f781 /man3
parent88e75e2c56a68eaf8fcf662a63b802fdf77a4017 (diff)
downloadman-pages-49a2a1052b8a8d8caec29b81c698b3af29d9ccf3.tar.gz
copy_file_range.2, fanotify_mark.2, inotify_add_watch.2, ioctl_fideduperange.2, kcmp.2, prctl.2, get_robust_list.2, tkill.2, ttyname.3: ERRORS: correct alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
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).