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
22594a3cb6
clock_getres.2: Expand description of CLOCK_REALTIME
...
Make it clear that this clock may be discontinuous, and is
affected my incremental NTP and clock-adjtime(2) adjustments.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=540872
Reported-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Brian M. Carlson
4550bf19cf
utf-8.7: Two clarifications
...
This patch clarifies that 0xc0 and 0xc1 are not valid in any UTF-8
encoding[0], and it also references RFC 3629 instead of RFC 2279.
[0] In order to have 0xc0, you'd have to have a two-byte encoding
with all the data bits zero in the first byte (and thus only six
bits of data), which would be an ASCII character encoded in the
non-shortest form. Similarly with 0xc1.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=538641
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Michael Kerrisk
c3ee1c5d6a
pread.2: BUGS: Note O_APPEND + pwrite() does the wrong thing
...
See https://bugzilla.kernel.org/show_bug.cgi?id=43178
Reported-by: Kasper Dupont <kasperd@gmail.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
Jason Baron
c639b31479
madvise.2: Document MADV_DONTDUMP and MADV_DODUMP
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:13 +12:00
Stefan Puiu
85ab5d7ad6
ipv6.7: Add ENODEV error for bind() to link-local IPv6 address
...
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
b81226729f
Start of man-pages-3.41: updating Changes and Changes.old
2012-04-27 11:02:13 +12:00
Michael Kerrisk
1ee5b3a1f3
Start of man-pages-3.41: updating .Announce and .lsm files
2012-04-27 11:02:13 +12:00
Michael Kerrisk
8ab424a564
Start of man-pages-3.41: renaming .Announce and .lsm files
2012-04-27 11:02:13 +12:00
Michael Kerrisk
d293c1b8fd
Ready for 3.40
2012-04-27 10:58:31 +12:00
Michael Kerrisk
3960d7a208
Removed trailing white space at end of lines
2012-04-27 10:58:21 +12:00
Michael Kerrisk
af75eecea0
process_vm_writev.2: Correct target of link
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-27 10:57:58 +12:00
Michael Kerrisk
9be6751b46
Changes: Update for 3.40
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-27 10:56:42 +12:00
Michael Kerrisk
04b2e45352
process_vm_readv.2: Further improvements after Mike Frysinger's comments
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:13:00 +12:00
Michael Kerrisk
0b01869b0a
process_vm_readv.2: Cleanups after comments from Mike Frysinger and Christopher Yeoh
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:13:00 +12:00
Michael Kerrisk
7985dbf3f7
process_vm_readv.2: Many additions, rewrites, and clarifications
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:13:00 +12:00
Michael Kerrisk
9762bc8a64
process_vm_readv.2: Minor tweaks to example code
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Michael Kerrisk
529b74009b
process_vm_readv.2: Formatting fixes
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Mike Frysinger
5e5ab35394
process_vm_writev.2: Link to new process_vm_readv(2) page
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Mike Frysinger
0b0ec7588c
process_vm_readv.2: New page for process_vm_readv(2) and process_vm_writev(2)
...
Cowritten-by: Christopher Yeoh <cyeoh@au1.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Michael Kerrisk
82232e78e9
gettimeofday.2, ptrace.2, sigaction.2, aio_init.3, mpool.3, scandir.3, inotify.7, netdevice.7: tstamp
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Michael Kerrisk
3a6548ffb0
tcp.7: Amend 84b183e
...
A change in 2.6.28 restored the 2.2 behavior:
https://lkml.org/lkml/2009/6/30/499
Reported-by: lepton <ytht.net@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Michael Kerrisk
3326bd1971
scandir.3: Improve EXAMPLE source code: s/0/NULL/ in scandir() call
...
Reported-by: Daniel J Blueman <daniel@quora.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Michael Kerrisk
63f0f3d9b8
clock_getres.2: Clarify difference between CLOCK_MONOTONIC and CLOCK_MONOTONIC_RAW
...
Note interactions of these two clocks with discontinuous
adjustments to the system time and NTP/adjtime(2).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:59 +12:00
Michael Kerrisk
5f04b9486b
gettimeofday.2: gettimeofday() is affected by discontinuous jumps in the system time
...
Advise reader to use clock_gettime(2), if they need a
monotonically increasing time source.
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:10 +12:00
Michael Kerrisk
fb6fc61227
gettimeofday.2: SEE ALSO: Add clock_gettime(2)
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:06 +12:00
Michael Kerrisk
bc02b3ea72
prctl.2: srcfix
...
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-26 09:12:06 +12:00