Commit Graph

17733 Commits

Author SHA1 Message Date
Michael Kerrisk b53015848e proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk a88f0e061a _exit.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk ccb3ff19e4 _exit.2: Only the least significant byte of exit status is passed to the parent
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 661cfc7eca execve.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 8b7365ac02 execve.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 765633a200 tmpfs.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 2a73d3e870 sigaction.2: Show the prototype of an SA_SIGINFO signal handler
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 69ccc9f11d fcntl.2: Mention memfd_create() in the discussion of file seals
Give the reader a clue about what kinds of objects can
be employed with file seals.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 547afefe40 shm_open.3: Clarify that POSIX shared memory uses tmpfs(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 967631f2c8 epoll_ctl.2: Give the reader a clue that the 'events' field can be zero
'events' specified as zero still allows EPOLLHUP and
EPOLLERR to be reported.

Reported-by: Nicolas Biscos <nicolas.biscos+man7@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 25c2dd2f87 epoll_ctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-31 06:54:35 +02:00
Michael Kerrisk 0dea65b805 epoll_ctl.2: Defer to poll(2) for an explanation of EPOLLIN
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-31 06:54:35 +02:00
Michael Kerrisk 4258cf6d03 epoll_ctl.2: EPOLLERR is also set on write end of a pipe when the read end is closed
Reported-by: Nicolas Biscos <nicolas.biscos+man7@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-31 06:54:22 +02:00
Michael Kerrisk b3da9249db poll.2: POLLERR is also set on write end of a pipe when the read end is closed
Reported-by: Nicolas Biscos <nicolas.biscos+man7@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-31 06:54:17 +02:00
Michael Kerrisk 1a2e88acd6 tcp.7: Note indications for OOB data given by select(2) and poll(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-30 17:30:38 +02:00
Michael Kerrisk d871cf8569 select.2: Refer to POLLPRI in poll(2) for info on exceptional conditions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-30 17:30:38 +02:00
Michael Kerrisk cd2ea4b451 select.2: Give a hint that sets must be reinitialized if using select() in a loop
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-30 17:30:38 +02:00
Michael Kerrisk 47da6ce7fd select.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-30 17:30:38 +02:00
Michael Kerrisk e629dd7890 poll.2: Expand discussion of POLLPRI
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:30:50 +02:00
Michael Kerrisk 3352f57925 ioctl_tty.2: Packet mode state change events give POLLPRI events for poll(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:30:50 +02:00
Michael Kerrisk 4448aa21a4 ioctl_console.2: Note type of 'argp' for a various operations
For some commands, there was no clear statement about the type
of the 'argp' argument.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:30:50 +02:00
Michael Kerrisk e86f51acba ioctl_console.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:30:50 +02:00
Michael Kerrisk a9168840a2 ioctl.2, ioctl_console.2, select_tut.2, termios.3, tty.4, pty.7, termio.7: Change page cross-references from tty_ioctl(4) to ioctl_tty(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:30:50 +02:00
Michael Kerrisk a78f675264 ioctl_tty.2: Minor clean ups after page rename
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:29:44 +02:00
Michael Kerrisk e0c110a576 tty_ioctl.4: Link for old name of ioctl_tty(2) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:29:44 +02:00
Michael Kerrisk 6d8d77ee88 ioctl_tty.2: Renamed from tty_ioctl(4)
All other ioctl(2) pages are in section 2. Make this
page consistent.
2017-03-29 12:29:44 +02:00
Michael Kerrisk d49a22201d ioctl.2, termios.3, console_codes.4, tty.4, tty_ioctl.4, vcs.4: Change page cross-references for console_ioctl(4) to ioctl_console(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:29:18 +02:00
Michael Kerrisk 693dc407a6 ioctl_console.2: Minor clean ups after page rename
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 07:11:54 +02:00
Michael Kerrisk 5d965ac90b console_ioctl.4: Link for old name of ioctl_console(2) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 07:11:54 +02:00
Michael Kerrisk 1f00fea7df ioctl_console.2: Renamed from console_ioctl.4
Most ioctl() man pages are in section 2, so move this one there
for consistency.
2017-03-29 07:11:21 +02:00
Michael Kerrisk b778adb281 console_ioctl.4: Minor clarification
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 06:57:35 +02:00
Michael Kerrisk 1804f37dea poll.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 06:49:17 +02:00
Michael Kerrisk ab264bff4f select.2: Show correspondence between select() and poll() readiness notifications
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 06:49:10 +02:00
Michael Kerrisk 84ec7d432b syslog.3: SEE ALSO: add journalctl(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 14:19:54 +02:00
Michael Kerrisk 1d8ee5b8ff syslog.3: Various rewordings and improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 14:19:54 +02:00
Michael Kerrisk 6b5652c1aa syslog.3: Note default value for 'facility' when calling openlog()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 14:19:54 +02:00
Michael Kerrisk d302d9c917 syslog.3: Various minor improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 14:19:54 +02:00
Michael Kerrisk aad9077cbb syslog.3: Reorganize page text for easier parsing and better readability
Inspired by comments from Ian Abbott and Walter Harms

Reported-by: Ian Abbott <abbotti@mev.co.uk>
Reported-by: Walter Harms <wharms@bfs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 14:19:33 +02:00
Jakub Wilk 53f2ec0751 localedef.1: ffix
Don't embolden commas between option names.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 13:02:52 +02:00
Michael Kerrisk c5cd305ddd fork.2: SEE ALSO: add pthread_atfork(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-25 08:20:24 +01:00
Michael Kerrisk aadc226bb7 pthread_atfork.3: New page describing pthread_atfork(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-25 08:20:24 +01:00
Michael Kerrisk 1a116ea001 select.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-24 15:51:25 +01:00
Michael Kerrisk 3116bbe074 select.2: Move mislocated text describing the self-pipe text from BUGS to NOTES
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-24 15:38:12 +01:00
Michael Kerrisk 8b58a9d467 select.2: Linux select() is buggy wrt POSIX in its check for EBADF errors
Reported-by: Matthew Wilcox <willy@infradead.org>
Reported-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-24 15:32:32 +01:00
Dmitry V. Levin ad8c02ab2e sigprocmask.2: Do not specify an exact value of rt_sigprocmask's 4th argument
As sizeof(kernel_sigset_t) is not the same for all architectures,
it would be better not to mention any numbers as its value.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-24 14:39:32 +01:00
Dmitry V. Levin 1e88383bc3 ttyname.3: Document ENODEV error code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-24 14:34:23 +01:00
Alexander Miller 86e5364425 getdtablesize.2, attr.5: Move .so directive to first line
Improves compatibility with the man and other dumb tools
that process man page files.

Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-24 14:31:11 +01:00
Alexander Miller 741abfa1b7 man-pages.7: wfix
Signed-off-by: Alexander Miller <alex.miller@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-24 14:26:54 +01:00
Michael Kerrisk 6dcadb9beb grantpt.3: Tell a more nuanced story about what grantpt() does or does not do
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-23 10:34:31 +01:00
Michael Kerrisk 1848bcfbce pty.7: Mention a couple of other applications of pseudoterminals
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-22 21:10:41 +01:00