Commit Graph

2809 Commits

Author SHA1 Message Date
David Prévot d95470fea8 endian.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk b45a72fb1a isgreater.3: Clarify that the arguments to these macros must be real-floating
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609033

Reported-by: Vincent Lefevre <vincent@vinc17.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk 4175f99924 add_key.2, query_module.2, request_key.2, resolver.3, stpcpy.3, strftime.3, elf.5, proc.5, mdoc.samples.7: srcfix: Wrap source lines at sentence boundaries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
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 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 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 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 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 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
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 6cfe62252d fopencookie.3: Correct description of return for user-supplied 'write' function
See http://sourceware.org/bugzilla/show_bug.cgi?id=2074

Reported-by: Petr Baudis <pasky@ucw.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk d865ce2de1 syslog.3: Update CONFORMING TO for POSIX.1-2008
POSIX.1-2008 doesn't change any details, but make
that more explicit.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk e0fba797ae syslog.3: Document behavior when 'ident' argument to openlog() is NULL
See https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/382096

Reported-by: Ralph Corderoy <ralph@inputplus.co.uk >
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:14 +12:00
Michael Kerrisk 2540aee7c2 makedev.3: SYNOPSIS: Correct return types of major() and minor()
See https://bugzilla.redhat.com/show_bug.cgi?id=754188

Reported-by; Zdenek Kabelac <zkabelac@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 927ad1fb59 mallopt.3: Fix example program
The example code was a version that was not consistent with
the shell output shown on the page.

Reported-bY: Simon Paillard <spaillard@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 9f0977ffbc mallopt.3: Restore accidentally omitted line in shell session
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Jean-Michel Vourgère 712b0341f5 getaddrinfo.3: Note that AI_ADDRCONFIG is not affected by loopback addresses
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=660479

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Yuri Kozlov a74fcea680 wcsncmp.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk e70cfff8b5 fmemopen.3: BUGS: Note inconsistent treatment of 'b' in 'mode'
fopen() permits, for example, both "w+b" and "wb+",
but only the latter is meaningful to fmemopen().

See http://sourceware.org/bugzilla/show_bug.cgi?id=12836

Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 005e6bb888 fmemopen.3: BUGS: fmemopen() doesn't correctly set file position in some cases
If 'mode' is append, but 'size' does not cover a null byte
in 'buf', then fmemopen() incorrectly sets the initial file
position to -1, rather than the next byte after the end of
the buffer.

See http://sourceware.org/bugzilla/show_bug.cgi?id=13151

Reported-by: Rich Felker <bugdal@aerifal.cx>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 8f60b371e7 fmemopen.3: BUGS: Append mode does not force writes to append
Append mode correctly sets the initial offset but does
not force subsequent writes to append at end of stream.

See http://sourceware.org/bugzilla/show_bug.cgi?id=13152

Reported-by: Rich Felker <bugdal@aerifal.cx>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 8154f292d8 fmemopen.3: BUGS: fmemopen() incorrectly handles size==0 case
If size is zero, fmemopen() fails, This is surprising behavior,
and not specified in POSIX.1-2008.

See http://sourceware.org/bugzilla/show_bug.cgi?id=11216

Reported-by; Alex Shinn <alexshinn@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 84133057b7 fmemopen.3: BUGS: Note silent ABI change for fmemopen() in glibc 2.9
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 360e0be298 fmemopen.3: Note details of POSIX.1-2008 specification of 'b' in 'mode'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk d8eca5853d fmemopen.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 9f6ec7b1e8 mallopt.3: SEE ALSO: Add malloc_stats(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 5ff479a45e malloc.3, mallopt.3: SEE ALSO: Add malloc_info(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 1da7358ef9 malloc_stats.3: Remove text referring to mmap(2)
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk 067568db96 malloc_stats.3: New man page for malloc_stats(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:07 +12:00
Michael Kerrisk a5cbea5f2b malloc_info.3: Point out use of open_memstream()
Note the use of open_memstream() to store XML output
directly into a buffer.

Reported-by: Jakub Jelinek <jakub@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-06 10:25:33 +12:00
Michael Kerrisk 47c3118377 malloc_info.3: New page for malloc_info(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-06 10:25:33 +12:00
Michael Kerrisk 35af1345a1 mallinfo.3: Add xref from 'hblks' explanation to M_MMAP_THRESHOLD in mallopt(3)
Reported-by: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-06 10:25:24 +12:00
Michael Kerrisk e478c637ba mallinfo.3: srcfix: Add FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-27 11:17:10 +12:00
Michael Kerrisk 669aadbba1 mallinfo.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-27 11:17:10 +12:00
Michael Kerrisk 3c81c5a456 mallinfo.3: Minor improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-27 11:17:09 +12:00
Michael Kerrisk f704bc68d2 mallinfo.3: Note mallinfo() bug for multiple arenas
Reported-by: Paul Pluzhnikov <ppluzhnikov@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-27 11:17:09 +12:00
Michael Kerrisk 62d874a0f7 mallinfo.3: New page for mallinfo(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-27 11:17:09 +12:00
Michael Kerrisk 3960d7a208 Removed trailing white space at end of lines 2012-04-27 10:58:21 +12:00