Commit Graph

5728 Commits

Author SHA1 Message Date
Michael Kerrisk 230ed8339d Removed trailing white space at end of lines 2017-07-13 14:22:45 +02:00
Michael Kerrisk f55a6d598d Changes, ldd.1, chown.2, epoll_wait.2, get_mempolicy.2, ioctl_getfsmap.2, madvise.2, membarrier.2, mount.2, pipe.2, readv.2, seccomp.2, sigaltstack.2, splice.2, tee.2, timer_create.2, vmsplice.2, acosh.3, asinh.3, atanh.3, bsd_signal.3, dl_iterate_phdr.3, dlsym.3, flockfile.3, fpathconf.3, ftw.3, getaddrinfo.3, getcontext.3, getgrent.3, if_nametoindex.3, malloc.3, nl_langinfo.3, posix_madvise.3, ptsname.3, rand.3, resolver.3, sigpause.3, sigwait.3, strtol.3, sysconf.3, ttyslot.3, unlocked_stdio.3, unlockpt.3, capabilities.7, cgroup_namespaces.7, inode.7, man.7, pipe.7, sigevent.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-13 14:22:45 +02:00
Long Wang f0e956cafb getline.3: wfix
Signed-off-by: Long Wang <w@laoqinren.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-12 19:36:34 +02:00
Alex Henrie 7cada58cad acosh.3, asinh.3, atanh.3: Remove C89 designation.
See https://bugzilla.kernel.org/show_bug.cgi?id=196319

[mtk: confirmed from review of draft of C90 standard]

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-11 09:59:50 +02:00
Joe Brown 5df38b3325 getaddrinfo.3: wsfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-05 10:39:08 +02:00
Carlos O'Donell 0d4f6d6f88 getcontext.3: Exemplar structure should use 'ucontext_t'.
In glibc we just finished a round of purging 'struct ucontext'
which is not in the POSIX reserved namespace of *_t tags. This has
some consequences to applications using the non-standard struct
ucontext:
https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27struct_ucontext.27
but it also fixes a namespace conformance issue which is always a
longterm pain for large portable programs.

It was noted by Peter Maydell
(https://sourceware.org/bugzilla/show_bug.cgi?id=21457) that the
linux man pages still had references to 'struct ucontext' but only
in the form of an exemplar structure.

The patch fixes the exemplar to match what is in glibc
and therefore it won't ever suggest users can use 'struct
ucontext'.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-05 10:29:59 +02:00
Dr. Tobias Quathamer be3b29c722 posix_madvise.3: Remove paragraph about POSIX_FADV_NOREUSE
POSIX_FADV_NOREUSE is documented for posix_fadvise, and a
corresponding POSIX_MADV_NOREUSE flag is not specified by POSIX.

Thanks to Marc Lehmann <debian-reportbug@plan9.de>
See https://bugs.debian.org/865699

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-05 10:26:46 +02:00
Jakub Wilk c52ba260ff ttyslot.3: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-07-05 10:19:25 +02:00
Michael Kerrisk 2ad31d9de8 ttyname.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-25 12:15:59 +02:00
Michael Kerrisk f57d94ca99 malloc.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-19 16:29:50 +02:00
Michael Kerrisk bc045fdd60 malloc.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-19 16:29:50 +02:00
Michael Kerrisk 081eeee527 malloc.3: Document the reallocarray() added in glibc 2.26
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-19 16:29:50 +02:00
Michael Kerrisk 4b80e269ee malloc.3: Minor clarification to CONFORMING TO
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-19 15:42:17 +02:00
Michael Kerrisk ceaad4d829 cfree.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-19 15:35:55 +02:00
Michael Kerrisk bc051678fe fpathconf.3: srcfix: Add self to copyright notice
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-18 21:15:57 +02:00
Michael Kerrisk 3509905bd8 fpathconf.3: Largely rewrite the description of _PC_CHOWN_RESTRICTED
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-18 21:14:56 +02:00
Michael Kerrisk 6cde427101 fpathconf.3: Rewrite description of _PC_PIPE_BUF
The existing description was not accurate, and lacked details.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-18 20:58:17 +02:00
Michael Kerrisk 09c8f2e4ea fpathconf.3: Add an errors section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-18 20:50:53 +02:00
Michael Kerrisk a282334152 fpathconf.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-18 20:31:06 +02:00
Michael Kerrisk 5425e5c59c fpathconf.3: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-18 20:29:49 +02:00
Michael Kerrisk 081a3c719b fpathconf.3: Rework RETURN VALUE description to add more detail
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-18 20:29:49 +02:00
Michael Kerrisk 480ef6d924 sysconf.3: Rework RETURN VALUE description to add more detail
Make the discussion clearer, and add a few details.
Also, fix the problem report from Pavel Tikhomirov
who noted that the man page falsely said that errno
is not changed on a successful return.

Addresses https://bugzilla.kernel.org/show_bug.cgi?id=195955

Reported-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-18 20:29:49 +02:00
Michael Kerrisk 386732aa86 sysconf.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-17 10:40:40 +02:00
Michael Kerrisk 646896d32c sysconf.3: Add ERRORS section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-17 09:53:56 +02:00
Michael Kerrisk 26bab9df0b getgrent.3, sigwait.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:45 +02:00
Michael Kerrisk bccf0b0760 getgrent.3: Note glibc 2.22 changes for feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:45 +02:00
Michael Kerrisk 2079d4344e sigpause.3: Note glibc 2.26 changes to feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:45 +02:00
Michael Kerrisk cc7fb6123a sigpause.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:45 +02:00
Michael Kerrisk 4c931ba32b nl_langinfo.3: Note feature test macro requirements for nl_langinfo_l()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:44 +02:00
Michael Kerrisk 06adeea53d sigwait.3: Note glibc 2.26 feature test macro changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:44 +02:00
Michael Kerrisk 940758abfe bsd_signal.3: Note feature test macro requirements changes for glibc 2.26
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:44 +02:00
Michael Kerrisk a97ae929a6 flockfile.3: Note glibc 2.24 feature test macro requirement changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:44 +02:00
Michael Kerrisk f83b1bbc94 unlocked_stdio.3: Note glibc 2.24 feature test macro requirement changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:44 +02:00
Michael Kerrisk 7676eafe87 ptsname.3: Since glibc 2.26, ptsname_r() no longer gives EINVAL for buf==NULL
Reported-by: Arjun Shankar <arjun.is@lostca.se>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:44 +02:00
Ferdinand Thiessen c2ba3716a9 grantpt.3, ptsname.3, unlockpt.3: Update feature test macro-requirements for glibc 2.24
Cowritten-by: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:36 +02:00
Michael Kerrisk b49377954c rand.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:36 +02:00
Michael Kerrisk c3a558fae9 rand.3: Note glibc 2.24 feature test macro requirement changes for rand_r()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:36 +02:00
Michael Kerrisk f30306c4a2 ttyslot.3: Note feature test macro requirements changes in glibc 2.24
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:36 +02:00
Michael Kerrisk 3f1873a8e3 ttyslot.3: Fix error in feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:36 +02:00
Michael Kerrisk f8c8a9031d ttyslot.3: Clarify details of use of <stdlib.h> file
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:36 +02:00
Michael Kerrisk 62dc68ae00 ttyslot.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:36 +02:00
Michael Kerrisk ab67ced080 resolver.3: Add basic notes on 'op' argument of res_nmkquery() and res_mkquery()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 07:49:06 +02:00
Quentin Rameau 94db8ae182 getaddrinfo.3: Fix _POSIX_C_SOURCE value for getaddrinfo()
The correct _POSIX_C_SOURCE value is 200112L, not 201112L in features.h.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-11 08:14:05 +02:00
Michael Kerrisk 687d31a42f ftw.3: BUGS: document a probable glibc regression in FTW_SLN case
See https://bugzilla.redhat.com/show_bug.cgi?id=1422736
and http://austingroupbugs.net/view.php?id=1121.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-10 21:52:48 +02:00
Michael Kerrisk cbc091e863 ftw.3: Minor wording fix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-10 20:58:35 +02:00
Michael Kerrisk b8f9afd0ad ftw.3: Minor clarification of 'ftwbuf' argument to callback function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-10 20:58:26 +02:00
Michael Kerrisk 75970bd63f getnameinfo.3: wfix
Reported-by: Cameron Wright <wright18@uw.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-03 18:45:15 +02:00
Michael Kerrisk 3a9a2ecbe1 shm_open.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-26 14:32:26 +02:00
Michael Kerrisk 475fea9aeb memcpy.3: wfix
Reported-by: Henry Bent <henry.r.bent@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:47:00 +02:00
Michael Kerrisk f9ce70d255 dlsym.3: _GNU_SOURCE is needed to get RTLD_DEFAULT and RTLD_NEXT definitions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-14 12:02:38 +02:00