Commit Graph

7764 Commits

Author SHA1 Message Date
Michael Kerrisk 43f72e1b4e getaddrinfo.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk f61d734d64 madvise.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk e9dedcd212 madvise.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk a1402e4c93 syslog.2: Remove some details about obsolete Linux libc
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 8a2384a440 sysinfo.2: Remove reference to obsolete libc5
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 2606a2b068 signal.2: Note that 'sig_t' requires _BSD_SOURCE
Also remove some old Linux libc details

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 6f0b2c8c9a poll.2: Clarify discussion of wrapper function emulation
Clarify that glibc (as well as old libc) provides emulation
using select(2) on older kernels that don't have a poll()
system call.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 77a53cb65a mount.2: Comment out an old Linux libc detail
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 1941c8e763 execve.2: Rewording to deemphasize libc5 details
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 7bf5c019f1 execve.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 8f826cd8f2 realpath.3: Remove note about Solaris possible returning an relative path
As reported by Casper Dik:

For some reason, many of the realpath() manual pages (BSD, Linux)
have words to the following effect:

    Solaris may return a relative pathname when the path argument
    is relative.

I have looked through the Solaris source files and have found no
such bug reported or fixed; the implementation from at least 1997
and beyond certainly doesn't have this problem and even the older
versions prepend getcwd() or chdir() to dirname and run getcwd()
in that directory.

Solaris does have a system call which may return relative
pathnames: resolvepath().  I believe that that function may have
confused earlier writers of realpath() manual pages and this was
later copied without verifying that fact.

realpath() existed in Solaris 2.0 as it came from SVr4.0 and even
at that time it returned the full, non-relative path.

Reported-by: Casper.Dik@oracle.com
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk a00b7454b8 confstr.3, strcasecmp.3, strcat.3, strcmp.3, strcpy.3, strdup.3, strftime.3, strlen.3, strnlen.3, strpbrk.3, strspn.3, strtok.3, strxfrm.3: Clarify that these functions operate on bytes, not (wide) characters
Change 'character(s)' to 'byte(s)' to make clear that these
functions operate on bytes, not wide / UTF8 characters.
(POSIX uses 'byte(s)' similarly, to make this point.)

Reported-by: Andries E. Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk c95b6ae1ce faccessat.2, fchmodat.2, fchownat.2, fstatat.2, futimesat.2, inotify_init.2, linkat.2, mkdirat.2, mknodat.2, openat.2, readlinkat.2, renameat.2, setns.2, splice.2, symlinkat.2, sync.2, tee.2, unlinkat.2, vmsplice.2: Global fix: note glibc version that added library support
Reported-by: Lauri Kasanen <curaga@operamail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 2d17a61d47 iconv.3: Upstream useful NOTE from Debian
Warn the reader that the pointer arguments can't be
interpreted as C style strings. Also, note possible
alignment requirements for the referenced bytes sequences,

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk f9b75bd469 iconv.3: Write a better paragraph introducing iconv() and its arguments
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk c0adf09ede fclose.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 6de785c3bd resolv.conf.5: Take a Debian improvement into upstream
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 60017fa5bc passwd.5: Various minor fixes and improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk e5b0e7ef79 tzfile.5: Drop SYNOPSIS
The SYNOPIS doesn't correspond to a user-visible file.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk c80ce5bc27 tzfile.5: SEE ALSO: Add pointer to glibc source file timezone/tzfile.h
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 56c4cc3618 tzfile.5: Mention timezone directories in DESCRIPTION
Note that timezone files are usually in /usr/lib/zoneinfo
or /usr/share/zoneinfo.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk b58ee47a3f tzfile.5: SEE ALSO: add tzset(3) and tzselect(8)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 61310e03d4 icmp.7, ipv6.7, packet.7, raw.7, rtnetlink.7, unix.7, x25.7: Remove names of constants from NAME line
Some of the sockets/network protocol pages included names of
the corresponding address family constants in the NAME line,
but this wasn't done consistently across all pages, and probably
it adds little value in those pages that did do this. So, remove
these constants from those pages that have them in the NAME
section.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk 46a3609038 LIST_ENTRY.3, LIST_HEAD.3, LIST_INIT.3, LIST_INSERT_AFTER.3, LIST_INSERT_HEAD.3, LIST_REMOVE.3, TAILQ_ENTRY.3, TAILQ_HEAD.3, TAILQ_INIT.3, TAILQ_INSERT_AFTER.3, TAILQ_INSERT_HEAD.3, TAILQ_INSERT_TAIL.3, TAILQ_REMOVE.3, CIRCLEQ_ENTRY.3, CIRCLEQ_HEAD.3, CIRCLEQ_INIT.3, CIRCLEQ_INSERT_AFTER.3, CIRCLEQ_INSERT_BEFORE.3, CIRCLEQ_INSERT_HEAD.3, CIRCLEQ_INSERT_TAIL.3, CIRCLEQ_REMOVE.3: New link to queue.3
The queue(3) page documents these macros, so it makes sense to
have links for the names.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:16 +12:00
Michael Kerrisk e4b4f948da queue.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk cd93b631b9 DES_FAILED.3: New link to des_crypt.3
The des_crypt(3) page documents this macro, so it makes sense
to have a link for the name.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 5e3431cd88 rexec.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 092af13a9e malloc_get_state.3: Fix wordos in function names in NAME line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 3c6d314a70 ldconfig.8, nscd.8: Remove path prefix from NAME line
Command names shown in NAME are normally just the basename,
not the full pathname of the command.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk dfecdb0b46 undocumented.3: Remove some functions that have been documented
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 262f970426 qsort_r.3: New link to qsort.3
Overlooked to add this link in 3.38, when documentation of
qsort_r() was added to the qsort.3 page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 9a4aaddc72 error.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 90d4c3de7b mcheck.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 660c2142d9 error.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 76f422416b dbopen.3: SYNOPSIS: Add header file <fcntl.h>
Upstreamed from Debian, and consistent with FreeBSD
dbopen(3) man page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk ce50b4c311 get_robust_list.2: Various edits and additions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 8a9b4d2030 set_robust_list.2: New link to new get_robust_list.2 page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Ivana Varekova 1f62bc9ecd get_robust_list.2: New page documenting get_robust_list(2) and set_robust_list(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 034dbf3a2b uri.7: Minor rewording to fix placement of "." at end of sentence
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk fce95f40b7 sd.4: Remove reference to nonexistent scsi(4) page
Upstreamed from RedHat / Fedora

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk d0cdf0fbd7 mmap64.3: Change target of link to mmap.2 (was mmap2.2)
Upstreamed from Red Hat / Fedora

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk b5d204d02b proc.5: Document /proc/[pid]/cgroup
Upstreamed from Red Hat / Fedora

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk 9ab6bd3188 proc.5: Note that CAP_SYS_ADMIN processes can override file-max
Upstreamed from red Hat / Fedora

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk b9c48803b8 proc.5: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
Michael Kerrisk c3e1cb4065 passwd.5: Upstream pieces from Red Hat/Fedora
Note mention of empty password field.
Add description of "*NP*" in password field.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
David Prévot 244195afe4 fchmodat.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:15 +12:00
David Prévot a0d6d887c9 memchr.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk 9d0637e513 select.2: Expand description of the self-pipe trick
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk b8b850053f select.2: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk a16eec1e9c select.2: Add further details on pselect6() system call that underlies pselect()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00