Commit Graph

3155 Commits

Author SHA1 Message Date
Michael Kerrisk bf42aad4a7 mprotect.2, syscall.2, realpath.3, iso_8859-1.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-14 00:37:33 +02:00
Sami Kerola 608bf95023 capget.2, futex.2, sched_setscheduler.2, spu_create.2, spu_run.2, vfork.2, getnameinfo.3, netlink.3, cciss.4, console_codes.4, dsp56k.4, hpsa.4, sk98lin.4, filesystems.5, protocols.5, aio.7, capabilities.7, charsets.7, feature_test_macros.7, futex.7, hier.7, iso_8859-16.7, iso_8859-2.7, koi8-r.7, libc.7, man.7, netlink.7, numa.7, standards.7, unicode.7, units.7, uri.7, x25.7: Global fix: use UR macro where applicable
The syntax .UR http://example.com paired with .UE will create
links which one can interact, if the pager allows that.  One
way to see the effect is ask the man(1) command to use browser
display, e.g.:

    man -H man7/uri.7

("\:" is optional groff syntax to permit hyphenless line breaks.)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 10:02:36 +02:00
Shawn Landden dbe8b62bd7 realpath.3: Use past tense with ancient history (libc4, libc5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:36:47 +02:00
David Prévot 1de7d4a1af strcpy.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:25:39 +02:00
David Prévot d4dfdd5b16 strcat.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:24:22 +02:00
David Prévot 62389489eb readdir.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-13 09:23:41 +02:00
Michael Kerrisk b63b27da2e rtime.3: Fix broken pointer cast in example code
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
Michael Kerrisk 13f78d96ad getdents.2, select_tut.2, atof.3, atoi.3, pthread_create.3, pthread_sigmask.3, rtime.3, setbuf.3, tsearch.3, netlink.7: Remove unneeded casts
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-08-03 10:33:49 +02:00
Michael Kerrisk 5011ecfd2b sigwait.3: Reword "is delivered" to "becomes pending"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-21 05:52:30 +02:00
Michael Kerrisk ef3e84642a strcat.3: NOTES: Add discussion on strlcat()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-20 12:52:45 +02:00
Michael Kerrisk 1f577d97c7 strcat.3: Add some text to emphasize the dangers of buffer overruns
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-20 12:52:45 +02:00
Michael Kerrisk 15cecd32a5 strcpy.3: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-20 12:52:45 +02:00
Michael Kerrisk bb96fc35a3 strcpy.3: NOTES: Add a discussion of strlcpy()
Inspired by https://lwn.net/Articles/506530/

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-20 12:52:45 +02:00
Michael Kerrisk 276d73b6ed strcpy.3: Note that info is lost when strncpy() doesn't null terminate
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:29 +02:00
Michael Kerrisk 50a24bbcde strcpy.3: Add some text to emphasize possibility of buffer runs with strcpy()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:28 +02:00
Michael Kerrisk cd90222a3a strcpy.3: Fix description of the null-byte padding performed by strncpy()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:28 +02:00
Michael Kerrisk d6eac69bd1 getifaddrs.3: Note that ifa_addr and ifa_netmask can be NULL
Reported-by: Adrian Dabrowski <atrox@seclab.tuwien.ac.at>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:28 +02:00
Michael Kerrisk eb059156a7 readdir.3: Handle -1 error from pathconf() in example code snippet
Improve the example demonstrating allocation of a buffer
for readdir_r() to handle -1 error return from pathconf().
Otherwise, naive readers may think that pathconf() return
value can be used without checking.

Reported-by: Jan Engelhardt <jengelh@inai.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:28 +02:00
Michael Kerrisk 02ff975dc7 lockf.3: spfix: T_LOCK --> F_LOCK
Reported-by: Alan Curry <pacman@kosh.dhis.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:28 +02:00
Michael Kerrisk 662902bf96 getutent.3: spfix
Reported-by: Henry Hu <henry.hu.sh@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Michael Kerrisk 49b759abb0 tsearch.3: srcfix: Change to use .I and .B directives
.I and .B are generally preferred over \fI and \fB.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Michael Kerrisk 5577e31181 tsearch.3: NOTES: remove redundant discussion of unorthodox use of term " postorder"
This point is already covered at greater length in the main
text of the page (See the piece "More commonly, ...").

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Michael Kerrisk 8cbac64a2b tsearch.3: Some wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Michael Kerrisk 88c7644093 tsearch.3: Clarify use for first argument to the twalk() 'action' function
There's a number of details in POSIX that are omitted in
the current version of this page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Michael Kerrisk 1bb65947e8 regex.3: Correct SEE ALSO reference to glibc manual "regex" section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-07-19 12:51:27 +02:00
Michael Kerrisk 6fdbc7794f access.2, prctl.2, recv.2, send.2, euidaccess.3, mbstowcs.3, mcheck.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:26 +12:00
Akihiro MOTOKI 02ace852fb open.2, select.2, aio_cancel.3, aio_suspend.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk 6fe07dbf26 get_nprocs_conf.3: srcfix: remove unneeded blank line before .TH
Reported-by: Sam Varshavchik <mrsam@courier-mta.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:25 +12:00
Michael Kerrisk 2c5f8c8c44 sem_close.3, sem_destroy.3, sem_getvalue.3, sem_init.3, sem_open.3, sem_post.3, sem_unlink.3, sem_wait.3, sem_overview.7: Note that "cc -pthread" is required; "-lrt" no longer works
See https://bugs.launchpad.net/ubuntu/+source/manpages/+bug/874418

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-06-08 03:10:11 +12:00
Michael Kerrisk 0ab8aeecc5 Removed trailing white space at end of lines 2012-05-11 08:13:04 +12:00
Michael Kerrisk eae2dfceab futimesat.2, mount.2, confstr.3, iconv.3, makedev.3, malloc.3, strcasecmp.3, strcat.3, strcmp.3, strcpy.3, strdup.3, strftime.3, strnlen.3, strpbrk.3, strspn.3, strtok.3, strxfrm.3, sk98lin.4, icmp.7, ipv6.7, packet.7, raw.7, rtnetlink.7, unix.7, x25.7, ldconfig.8, nscd.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-11 08:09:28 +12:00
Michael Kerrisk aea038d640 aio_cancel.3, aio_error.3, aio_fsync.3, aio_read.3, aio_return.3, aio_suspend.3, aio_write.3: ERRORS: Add/update ENOSYS error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Michael Kerrisk e19783f5dd aio_error.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Michael Kerrisk 9dacae96c2 lio_listio.3: Clarify that async notification occurs when *all* I/Os complete
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:57:03 +12:00
Michael Kerrisk 2da75a9e41 aio_cancel.3: Add pointers to aio(7) and sigevent(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:56:53 +12:00
Michael Kerrisk bc8e7b9537 aio_cancel.3: Clarify what happens when a request isn't successfully canceled
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-10 11:38:35 +12:00
Akihiro MOTOKI b00b80e0b6 posix_memalign.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-08 09:16:07 +12:00
David Prévot 6f0f6cf6e9 fopen.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:19 +12:00
Michael Kerrisk ee9d4801d7 printf.3: srcfix to avoid groff warnings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:19 +12:00
Michael Kerrisk 27844710c8 matherr.3: srcfix to eliminate groff error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:18 +12:00
Michael Kerrisk d0f1fd336a getnameinfo.3: Srcfix to avoid groff warning
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:18 +12:00
David Prévot 6336b547bd rexec.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:18 +12:00
Michael Kerrisk 0b07fbdc87 getutent.3: Minor rewording
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:18 +12:00
Michael Kerrisk 1c2816e288 ctime.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:18 +12:00
Michael Kerrisk 61e1aee047 mount.2, dbopen.3, fenv.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
Michael Kerrisk 15079abb25 scanf.3, system.3, initrd.4, sk98lin.4, mdoc.samples.7, nscd.8: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-05-07 15:30:17 +12:00
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
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 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 dc6a909bc0 strchr.3: srcfix: use . mark-up rather than \fI.\fP
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-24 09:09:26 +12:00
Michael Kerrisk 9640b1b311 memchr.3: Clarify description, omitting mention of "strings" and "characters"
The existing text slipped into talking about characters and
strings, which could mislead readers into thing that, for
example, searches for the byte '\0' are treated specially.
Therefore, rewrite in terms of "bytes" and "memory areas".

At the same time, make a few source file clean-ups.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-24 09:05:08 +12:00
James Hunt 2c4d293c33 strchr.3: Explain behavior when seraching for '\0'
The strchr(3) page does `not explain the behavior if the
character to search for is specified as a null character ('\0').
According to my copy of Harbison and Steele, since the terminator
is considered part of the string, a call such as:

  strchr("hello", '\0')

will return the address of the terminating null in the specified
string.

strchr(3) is inconsistent with index(3) which states:

    "The terminating null byte is considered to be
    a part of the strings."

Adding such a note to strchr(3) is also important since it is not
unreasonable to assume that strchr() will return NULL in this
scenario. This leads to code like the following which is
guaranteed to fail should get_a_char() return '\0':

    char string[] = "hello, world";
    int c = get_a_char();

    if (! strchr(string, c))
        fprintf(stderr, "failed to find character in string\n");

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-24 09:04:40 +12:00
Petr Baudis adc9675dac resolver.3: Note that many options are documented in resolv.conf(5)
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-24 00:09:25 +12:00
James Hunt 96da8065c2 termios.3: tfix: 'IECHO' should be 'ECHO'.
Signed-off-by: James Hunt <james.hunt@ubuntu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 23:40:07 +12:00
Michael Kerrisk f6dc36110c getpwnam.3: Fix discussion of _SC_GETPW_R_SIZE_MAX
The value is not meant to be a maximum (as was specified in
SUSv3) but an initial guess at the required size
(as specified in SUSv4).

Reported-by: Ulrich Drepper <drepper@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 20:21:23 +12:00
Michael Kerrisk f7bae7f86b getgrnam.3: Fix discussion of _SC_GETGR_R_SIZE_MAX
The value is not meant to be a maximum (as was specified in
SUSv3) but an initial guess at the required size
(as specified in SUSv4).

Reported-by: Ulrich Drepper <drepper@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 20:13:16 +12:00
Michael Kerrisk 61474e1b58 gsignal.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 18:59:15 +12:00
Michael Kerrisk ed987e2ee4 rexec.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 12:18:53 +12:00
Michael Kerrisk 6760cb0176 rexec_af.3: New link to rexec.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 12:18:22 +12:00
Michael Kerrisk 4cd4a6f890 rexec.3: Document rexec_af()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 12:17:44 +12:00
Michael Kerrisk 5b80f0073c iruserok_af.3, rcmd_af.3, rresvport_af.3, ruserok_af.3: New links to rcmd.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 12:03:33 +12:00
Michael Kerrisk 023a57dc59 rcmd.3: Document "_af" variants of these functions
Document rcmd_af(), rresvport_af(), iruserok_af(), ruserok_af().
Also some restructuring and other clarifications.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 12:01:47 +12:00
Michael Kerrisk aa104c88b7 rcmd.3: Add some details of the rresvport() 'port' argument
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 11:15:45 +12:00
Michael Kerrisk 61d71e01e2 strerror.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 09:25:56 +12:00
Michael Kerrisk 6fb29ca02e strerror.3: Add an example of the kind of string returned by setrerror()
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 09:24:28 +12:00
Michael Kerrisk df21098dee btree.3, dbopen.3, hash.3, mpool.3, recno.3: Note that glibc no longer provides these interfaces
glibc stopped providing these interfaces with v2.2.
Nowadays, the user that finds these pages probably wants
the libdb API, so note this in the page.

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=337581

Reported-by: Brian M. Carlson <sandals@crustytoothpaste.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-23 07:47:35 +12:00
Michael Kerrisk afd6f6c5ea fopen.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-22 14:48:29 +12:00
Michael Kerrisk 4d9edb6e7e fopen.3: BUGS: Note limitation on number of flag characters parsed in 'mode' 2012-04-22 14:48:29 +12:00
Michael Kerrisk d33e84666f fopen.3: Document ",ccs=string" feature of 'mode' for fopen()/freopen()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-22 14:48:28 +12:00
Michael Kerrisk 78a9ad2522 fopen.3: Note that 'c' and 'e' flags are ignored for fdopen()
Determined from reading libio/iofdopen.c.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-22 14:48:28 +12:00
Michael Kerrisk 20e41f3f02 fopen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-22 14:48:28 +12:00
Michael Kerrisk 96285a93ed fopen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-22 14:48:28 +12:00
Michael Kerrisk f26825206d strerror.3: Note how to use 'errno' to detect errors when calling strerror()
Reviewd-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-22 14:48:08 +12:00
Eric Blake 8ca6ceb0cf strerror.3: Improve strerror_r() description
POSIX requires that perror() not modify the static storage
returned by strerror().  POSIX 2008 and C99 both require that
strerror() never return NULL (a strerror() that always
returns "" for all inputs is valid for C99, but not for POSIX).

http://sourceware.org/bugzilla/show_bug.cgi?id=12204
documents glibc's change to come into compliance with POSIX
regarding strerror_r() return value.  The GNU strerror_r() use
of 'buf' was confusing - I ended up writing a test program that
proves that 'buf' is unused for valid 'errnum', but contains
truncated "unknown message" for out-of-range 'errnum'.

See also http://austingroupbugs.net/view.php?id=382

Reviewed-by: Stefan Puiu <stefan.puiu@gmail.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-22 12:13:31 +12:00
Bernhard Walle a5fa6dfd19 strerror.3: Correct description of error return for XSI strerror_r()
The XSI-compliant version of strerror_r() doesn't return -1 on
error and set errno. Instead, a positive error number is returned.
That's what POSIX says:

    Upon successful completion, strerror_r() shall return 0.
    Otherwise, an error number shall be returned to indicate
    the error.

I tested with an invalid error number. While some implementations
seem to write "Unknown error xxx" into the supplied buffer, some
others don't and only return EINVAL. The latest glibc 2.14.1 from
Arch Linux belongs to the first category while eglibc 2.13 from
current Debian testing belongs to the second category.

However, both implementation are correct according to POSIX. So I
think the manpage was wrong and POSIX and the implementations are
correct.

Signed-off-by: Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-22 11:09:37 +12:00
Michael Kerrisk 3c8d6131e8 mkstemp.3: Add "mkstemps" and "mkostemps" to NAME line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-21 11:54:11 +12:00
Michael Kerrisk 66dd9100d8 posix_openpt.3: Add some details on use of the slave pathname
An explicit pointer to ptsname(3) is useful, as is a note
of the fact that the slave device pathname exists only as
long as the master device is held open.

Reported-by: Vadim Mikhailov <vadim.mikhailov@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-20 15:56:02 +12:00
Michael Kerrisk f24766e312 raise.3: Add some notes on underlying system call that is used
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-20 13:12:40 +12:00
Simon Paillard 6315c1b68f mallopt.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-19 11:09:10 +12:00
Simon Paillard ebca85d8a1 posix_memalign.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-19 11:08:35 +12:00
Michael Kerrisk 361c3c7f7a malloc.3, mallopt.3, mtrace.3: Links to new mcheck.3 page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-18 08:33:39 +12:00
Michael Kerrisk fd2981935b mcheck.3: New man page for mcheck(3) and related functions
Also describes mcheck_check_all(3) mcheck_pedantic(3),
and mprobe(3)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-18 08:32:35 +12:00
Michael Kerrisk fb07934b18 aio_cancel.3: Rewrite RETURN VALUE section to be clearer
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-18 08:15:11 +12:00
Michael Kerrisk 53fdc589c6 aio_init.3: Remove extraneous "POSIX" from NAME section
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-18 07:49:26 +12:00
Michael Kerrisk ffbe890768 div.3, mallopt.3, perror.3, epoll.7, ld.so.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-17 23:23:57 +12:00
Michael Kerrisk 37ec86d510 div.3: CONFORMING TO: Add C99
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-17 23:09:04 +12:00
Michael Kerrisk 47561b003a memchr.3: Remove mention of terminating null in description of rawmemchr()
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-17 23:09:04 +12:00
Michael Kerrisk 79038fa74d perror.3: Note that use of 'sys_errlist' is deprecated
Reported-by: Jesus Otero <jesus.otero@rysg.es>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-16 08:18:29 +12:00
Michael Kerrisk b29f28723d perror.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-16 08:18:29 +12:00
Michael Kerrisk 3dd1c10f28 sysconf.3: Add mention of _SC_SYMLOOP_MAX
Reported-by: Ricardo Catalinas Jiménez <jimenezrick@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-16 08:18:29 +12:00
Michael Kerrisk a05228ea3a getaddrinfo.3: Correct type of ai_addrlen field
Reported-by: Jak <jak@gmx.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-15 09:39:52 +12:00
Michael Kerrisk 528db0236c mallopt.3: Fix text describing M_PERTURB and free()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-15 09:39:52 +12:00
Michael Kerrisk 1d7824bbfe pthread_testcancel.3: tfix
Reported-by: Armin Rigo <arigo@tunes.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-14 13:18:23 +12:00
Michael Kerrisk b76a964b20 queue.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-12 13:21:07 +12:00
Michael Kerrisk 609b89e9f8 aio_read.3: tfix
Reported-by: Alexander Kruppa <akruppa@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-04-12 11:17:05 +12:00
Regid Ichira c294cd695d fread.3: Clarify further that return value is number of items, not bytes
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665780

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-30 07:55:26 +13:00
Michael Kerrisk 52fb468f4a rcmd.3: glibc eventually added a declaration of iruserok() in version 2.12
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-29 12:44:52 +13:00
Michael Kerrisk 9d5e98fc0e malloc.3: SEE ALSO: add malloc_usable_size(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-26 06:26:08 +13:00
Michael Kerrisk 6978778cf0 malloc_usable_size.3: New man page for malloc_usable_size(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-26 06:26:08 +13:00
Michael Kerrisk 54351422de malloc.3: srcfix: remove obsolete FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-26 06:26:08 +13:00
Michael Kerrisk 16ecf30994 malloc.3, mallopt.3: SEE ALSO: Add malloc_trim(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-26 06:26:08 +13:00
Michael Kerrisk a15b0e60b2 malloc_trim.3: New man page for malloc_trim(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-26 06:26:08 +13:00
Michael Kerrisk 2e0023cb0d Removed trailing white space at end of lines 2012-03-25 07:47:12 +13:00
Michael Kerrisk d9d62b8f8e copysign.3: DESCRIPTION: Add a couple of examples
Reported-by: Tolga Dalman <tolga.dalman@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:20:14 +13:00
Michael Kerrisk 91efc2b9d8 sigqueue.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 07:20:14 +13:00
Michael Kerrisk 567e764a80 tzset.3: Add some clarifying remarks to discussion of Julian day formats
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 06:51:50 +13:00
Peter Schiffer 5a554f8e52 tzset.3: Correct description for Julian 'n' date format
The Julian 'n' date format counts atrting from 0, not 1.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-25 06:51:31 +13:00
Kirill Brilliantov 79fdc31353 rtnetlink.3: Fix example code, rta_len assignment should use RTA_LENGTH()
See also http://bugs.debian.org/655088

Reported-by: Sergei Zhirikov <sfzhi@yahoo.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 13:09:01 +13:00
Denis Barbier 7755958ab2 mallopt.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:59:07 +13:00
Beňas Petr f16b669665 get_nprocs.3: Link to new get_nprocs_conf.3 page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:59:07 +13:00
Michael Kerrisk ebae66ebbc get_nprocs_conf.3: Some additions and improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:59:07 +13:00
Beňas Petr f9d28c3486 get_nprocs_conf.3: New page documenting get_nprocs_conf(3) and get_nprocs(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-24 11:59:07 +13:00
Michael Kerrisk 8f804f14cb posix_memalign.3: Document aligned_alloc(3)
aligned_alloc() is new in C11.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 06:47:43 +13:00
Michael Kerrisk 8df050d258 aligned_alloc.3: New link to posix_memalign.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 06:36:15 +13:00
Michael Kerrisk 01657408e1 posix_memalign.3: Rename memalign() argument
Rename "boundary" to "alignment" for consistency
with posix_memalign().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 06:28:21 +13:00
Michael Kerrisk 5a789d8fff fopen.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 06:07:52 +13:00
Michael Kerrisk cdd5cd1668 pvalloc.3: New link to posix_memalign.3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 05:39:36 +13:00
Michael Kerrisk 59b0228748 posix_memalign.3: Document pvalloc(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 05:39:19 +13:00
Michael Kerrisk c36b993251 posix_memalign.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 05:25:25 +13:00
Michael Kerrisk 287cdf88dc posix_memalign.3: Improve discussion of feature test macros and header files for valloc(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-23 05:20:12 +13:00
Michael Kerrisk a87607d4ff malloc.3: SEE ALSO: add malloc_get_state(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-22 22:55:40 +13:00
Michael Kerrisk 7e46bb223d malloc_set_state.3: Link to new malloc_get_state.3 page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-22 22:55:40 +13:00
Michael Kerrisk 0669cc5f80 malloc_get_state.3: New page documenting malloc_get_state(3) and malloc_set_state(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-22 22:55:40 +13:00
Michael Kerrisk 323c59bbc9 malloc.3: Replace discussion of MALLOC_CHECK_ with pointer to mallopt(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-21 06:54:30 +13:00
Michael Kerrisk 675bd73818 mallopt.3: New man page for mallopt(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-21 06:54:29 +13:00
Nix 46d7906b34 sigqueue.3: Remove rt_sigqueueinfo from TH line
rt_sigqueueinfo() now has its own manual page, so should not
be listed in the .TH line of this page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-21 06:54:29 +13:00
Mark R Bannister ce9cddd439 scandir.3: SEE ALSO: Add scandirat(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-21 06:54:22 +13:00
Mark R Bannister 3229c63853 scandirat.3: New page for scandirat(3) (new in glibc 2.15)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-20 07:55:01 +13:00
Michael Kerrisk c196e48536 mtrace.3: Complete rewrite of page, adding much more detail
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-20 07:07:33 +13:00
Michael Kerrisk a2dd4e4122 malloc.3: SEE ALSO: Add mtrace(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-20 07:05:32 +13:00
Michael Kerrisk e489d79586 malloc.3: srcfix (add pointers to articles describing malloc implementation)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-19 08:37:27 +13:00
Michael Kerrisk c34547e4f4 malloc.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-17 03:40:50 +13:00
Michael Kerrisk 01b844cc10 rt_sigqueueinfo.2, iswctype.3, longjmp.3: Minor fix: add Section number to page xref
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:58:10 +13:00
Michael Kerrisk 6030f2d859 add_key.2, keyctl.2, request_key.2, offsetof.3, pthread_attr_init.3, pthread_attr_setaffinity_np.3, pthread_attr_setdetachstate.3, pthread_attr_setguardsize.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setschedpolicy.3, pthread_attr_setscope.3, pthread_attr_setstackaddr.3, pthread_attr_setstacksize.3, pthread_cancel.3, pthread_cleanup_push.3, pthread_cleanup_push_defer_np.3, pthread_equal.3, pthread_exit.3, pthread_getattr_np.3, pthread_getcpuclockid.3, pthread_self.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setconcurrency.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_testcancel.3: Global formatting fix: balance .nf/.fi pairs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:37:22 +13:00
Michael Kerrisk c9f2ff9d7e _exit.2, chmod.2, abs.3, cbrt.3, mkdtemp.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:22:05 +13:00
Michael Kerrisk 22cb459d5c CPU_SET.3, err.3, fmod.3, pthread_attr_setinheritsched.3, pthread_attr_setschedparam.3, pthread_attr_setstacksize.3, pthread_create.3, stpcpy.3: Global fix: place sections in correct order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:16:33 +13:00
Michael Kerrisk 44a720e388 sigwait.3, strftime.3: Minor fix to heading
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:08:12 +13:00
Michael Kerrisk 0bb542ede1 getifaddrs.3: Minor fix to heading
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:06:57 +13:00
Michael Kerrisk 000ea29f68 err.3: Minor fix to heading
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 04:05:23 +13:00
Michael Kerrisk 2bfa8272f0 intro.2, btowc.3, intro.3, pthread_sigqueue.3: Correct order of SEE ALSO entries
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-13 03:58:56 +13:00
Michael Kerrisk f1c3fa9757 malloc.3: NOTES: Add a short discussion of arenas
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-09 12:32:31 +13:00
Michael Kerrisk b084fc293b getaddrinfo_a.3, pthread_cleanup_push_defer_np.3: Global fix: Remove duplicated words
Remove instances of duplicate words found using Justin's
grep-fu:

    for f in man?/*.[1-9]; do
        grep -HE ' ([[:alpha:]]{2,} +)\1' "$f" |
            grep -Evw '(proc|hugetlbfs|XXX*|root|long) *\1';
    done | grep -E --colo ' ([[:alpha:]]{2,} +)\1'

Reported-by: Justin T Pryzby <justinp@norchemlab.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-09 04:35:19 +13:00
Michael Kerrisk 66d90115ca utimensat.2, wait.2, end.3: srcfix: remove duplicate words in comments
Reported-by: Justin T Pryzby <justinp@norchemlab.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-09 04:26:06 +13:00
Michael Kerrisk 3b52faf1bb qsort.3: Add VERSIONS section for qsort_r()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-08 10:39:09 +13:00
Michael Kerrisk 6d388dc9d6 qsort.3: Minor fix-ups to submitted patches
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-08 10:39:09 +13:00
Ben Bacarisse b2db77f571 qsort.3: Improvements to Mark R Bannister's qsort_r() patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-08 10:32:51 +13:00
Mark R Bannister a094fe6dd6 qsort.3: Add documentation of qsort_r(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-03-08 10:29:50 +13:00
Walter Harms 88eafb6e7a sem_wait.3: EXAMPLE: Remove extraneous line of output from shell session
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-12 06:11:51 +13:00
Michael Kerrisk a7bd22c67a scanf.3: tfix
Reported-by: Alain Benedetti <alainb06@free.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-03 08:03:16 +13:00
Michael Kerrisk 4be34a4d1d wcslen.3: tfix
Reported-by: carado <carado@savhon.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-02-03 08:03:09 +13:00
Michael Kerrisk 5d83f9cd34 gets.3: Document C11 and glibc 2.16 changes affecting gets()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-01-18 14:28:10 +13:00
Michael Kerrisk 037f4132fb readdir.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2012-01-17 16:27:21 +13:00
Michael Kerrisk 3c81e148a2 wcsnrtombs.3, wcsrtombs.3, wcstombs.3: Fix-ups for e9c23bc636
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 08:07:31 +02:00
Michael Kerrisk 11d6f170ed wcpcpy.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 07:51:22 +02:00
David Prévot a845750068 wcrtomb.3: ffix
Signed-off-by: David Prévot <taffit@debian.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 07:20:04 +02:00
Michael Kerrisk 4a905b9294 pthread_sigmask.3: Fix comment that was inconsistent with code in example program
Reported-by: Pat Pannuto <pat.pannuto@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-16 07:13:19 +02:00
Michael Kerrisk c409c4ffa3 Removed trailing white space at end of lines 2011-10-04 08:34:28 +02:00
Michael Kerrisk 4de52db8a1 aio_cancel.3: Clarify meaning of "return status" and "error status"
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-04 07:41:01 +02:00
Michael Kerrisk 83f9759dd3 aio_write.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-04 07:39:16 +02:00
Michael Kerrisk 3696a917ce aio_read.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-04 07:38:35 +02:00
Michael Kerrisk 5503c85ea4 intro.1, fork.2, futex.2, open.2, rename.2, select_tut.2, semop.2, spu_create.2, stat.2, netlink.3, random.3, scanf.3, shm_open.3, strftime.3, console.4, console_codes.4, sk98lin.4, st.4, bootparam.7, cpuset.7, credentials.7, man-pages.7, path_resolution.7, uri.7: Global fix: remove spaces around em-dash
Normal English typographical convention is not to have
spaces around em dashes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-03 08:47:35 +02:00
Michael Kerrisk a43aff682b stdio.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-03 08:46:17 +02:00
Michael Kerrisk 6aee2853e2 netlink.3: wfix
Reported-by: Kevin Lyda <kevin@ie.suberic.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-03 07:53:16 +02:00
Kevin Lyda 5aaf78b7bd termios.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-03 07:45:24 +02:00
Michael Kerrisk 1f04081f19 gets.3: POSIX.1-2008 marks gets() obsolescent
The page formerly erroneously stated that POSIX.1-2008
removed the specification of this function.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-01 06:53:36 +02:00
Michael Kerrisk d9a8bda4e2 mbsnrtowcs.3, wcpcpy.3, wcpncpy.3, wcsnlen.3, wcsnrtombs.3: CONFORMING TO: Add POSIX.1-2008
These functions are specified in the POSIX.1-2008 revision.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-01 06:28:29 +02:00
Michael Kerrisk 82f4ea0183 strdup.3: CONFORMING TO: strndup() is in POSIX.1-2008
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-10-01 06:21:22 +02:00
Mike Frysinger f4d305c99e strcpy.3: SEE ALSO: Add stpncpy(3)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-29 06:29:00 +02:00
Mike Frysinger 268a3684a8 stpcpy.3, stpncpy.3: Note that these functions are in POSIX.1-2008
Update the "CONFORMING TO" sections of these functions to
note that they are now part of the POSIX.1-2008 standard.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-29 06:28:46 +02:00
Michael Kerrisk a2834faa85 getsubopt.3: Minor wording improvement
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:36:36 +02:00
Michael Kerrisk fa233003f8 sysconf.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:28:31 +02:00
Michael Kerrisk ad3fd4c0e3 execve.2, recv.2, getaddrinfo.3, getcwd.3, getipnodebyname.3, getlogin.3, mbsinit.3: Global fix: s/null pointer/NULL pointer/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:25:05 +02:00
Michael Kerrisk 71d9e7ae77 gets.3, mbtowc.3, printf.3, puts.3, scanf.3, stpcpy.3, stpncpy.3, strcat.3, strlen.3, strnlen.3, strsep.3, strstr.3, strxfrm.3, utmp.5: Global fix: consistent use of "null byte"
Bring more consistency to the discussion of
"[terminating] null byte"
by writing (at least in the initial use in a page)
"[terminating] null byte ('\0')".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:20:52 +02:00
Michael Kerrisk e9c23bc636 fgetws.3, fputws.3, mbrtowc.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscat.3, wcscpy.3, wcslen.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcsrtombs.3, wcsstr.3, wcstok.3, wcstombs.3, wcwidth.3: Global fix: consistent use of "null wide character"
Bring more consistency to the discussion of
"[terminating] null wide character"
by writing (at least in the initial use in a page)
"[terminating] null wide character (L'\0')".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 06:20:52 +02:00
Michael Kerrisk 24511dc14f wcslen.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:29:45 +02:00
Michael Kerrisk 1dcfd0de17 wcrtomb.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:26:32 +02:00
Michael Kerrisk 635793f3f3 bzero.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:12:10 +02:00
Michael Kerrisk cebca1bd40 flock.2, recv.2, btree.3, dbopen.3, des_crypt.3, fts.3, mpool.3, recno.3: Global fix: use ORing
Use "ORing", not "OR'ing", nor an italic ".IR OR ing".

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 05:06:37 +02:00
Michael Kerrisk 836830b4c9 readlink.2, getsubopt.3, termcap.5, tzfile.5, unix.7: srcfix: change single quote to "\(aq"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-28 04:56:17 +02:00
Michael Kerrisk 4e83614439 clock_getres.2, clone.2, mbind.2, set_mempolicy.2, atan2.3, getipnodebyname.3, ilogb.3, lgamma.3, elf.5, capabilities.7, math_error.7: srcfix: Remove double space
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:17:10 +02:00
Michael Kerrisk 371b557b97 ldexp.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:16:25 +02:00
Michael Kerrisk aa198ef96f stpncpy.3: Change "terminating null" to "terminating null byte"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:12:41 +02:00
Michael Kerrisk c47df0d3b2 regex.3: Change "terminating null" to "terminating null byte"
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:09:31 +02:00
Michael Kerrisk 1c1a8c025c getline.3: tfix
Rep[orted-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-27 05:07:24 +02:00
Denis Barbier 0cf28c348c hsearch.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-26 19:31:55 +02:00
Michael Kerrisk a032492ea9 pthread_sigqueue.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:40:55 +02:00
Michael Kerrisk fe48639fc3 set_mempolicy.2, getcwd.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:17:13 +02:00
Michael Kerrisk 5238ea2cfc getaddrinfo_a.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:15:41 +02:00
Michael Kerrisk b18e759d8c fstatat.2, rt_sigqueueinfo.2, sendfile.2, hsearch.3, matherr.3, rtld-audit.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-23 07:11:27 +02:00
David Prévot fb30b09644 lseek.2, inet_pton.3, tzfile.5: tfix
Please find attach a consistency fix: there were only five
"zeroes" but twenty four "zeros" in those manual pages.
(Make all instances "zeros".)

Signed-off-by: David Prévot <taffit@debian.org>
2011-09-23 07:02:06 +02:00
Michael Kerrisk 38be53abdf wctob.3: Remove crufty text left by last commit
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 09:44:01 +02:00
Michael Kerrisk da8a154e7e btowc.3, wctob.3: Add pointers to better, thread-safe alternative functions
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606899

btowc(3) says:

    This function should never be used.  It does not work for
    encodings which have state, and unnecessarily treats single
    bytes differently from multibyte sequences.  Use the
    function mbtowc() instead.

but mbtowc(3) says:

    The function mbrtowc(3) provides a better interface to the
    same functionality.

Obviously, btowc(3) should not suggest a non-optimal interface; it
should instead suggest mbrtowc.  This is also true for the pair
wctob(3) and wctomb(3).

Reported-by: Brian M. Carlson <sandals@crustytoothpaste.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-22 06:38:49 +02:00
Michael Kerrisk a82893d222 wcsnlen.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-21 08:40:16 +02:00
Jon Grant 1c1c2c1031 wcsnlen.3: Improve description of 'maxlen' argument
It's worth clarifying 'maxlen' is in wide-char units, not bytes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-21 07:03:27 +02:00
Michael Kerrisk 098ad1323e index.3: Fix text mentioning terminating null
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-21 06:59:45 +02:00
Michael Kerrisk d4b94904d2 sigqueue.3: SEE ALSO: Add rt_sigqueueinfo(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-19 17:32:54 +02:00
Michael Kerrisk 485ab7013e getrlimit.2, kill.2, rt_sigqueueinfo.2, sigaction.2, signal.2, signalfd.2, sigprocmask.2, sigwaitinfo.2, psignal.3, pthread_sigqueue.3, credentials.7, signal.7: Change reference to "sigqueue(2)" to "sigqueue(3)"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-19 17:32:53 +02:00
Michael Kerrisk 1770a4b9f7 pthread_sigqueue.3: Replace explicit mention of rt_tgsigqueueinfo() with SEE ALSO reference
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-19 17:32:53 +02:00
Michael Kerrisk 7205993b4f pthread_sigqueue.3: Minor fix: Change reference to sigwait(2) to sigwait(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-19 17:32:53 +02:00
Michael Kerrisk 5b36ada079 sigqueue.3: Update text in line with existence of new rt_sigqueueinfo.2 page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-19 17:32:49 +02:00
Michael Kerrisk ae88a0d6b1 sigqueue.3: Move this page to section 3
Now that the underlying system call rt_sigqueueinfo(2) is
properly documented, move sigqueue() to Section 3, since
it is really a library function.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-18 06:58:46 +02:00
Michael Kerrisk 70225000d6 wprintf.3: Add _ISOC95_SOURCE to feature test macro requirements
Since glibc 2.12, _ISOC95_SOURCE can also be used to expose
prototype of these functions.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-17 08:51:38 +02:00
Michael Kerrisk 38d9233365 fwide.3: Add _ISOC95_SOURCE to feature test macro requirements
Since glibc 2.12, _ISOC95_SOURCE can also be used to expose
prototype of this function.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-17 08:51:10 +02:00
Michael Kerrisk f81c6cc693 fcntl.2, recv.2, crypt.3, err.3, strtoul.3, proc.5: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:02:06 +02:00
Michael Kerrisk 677e98a1b4 conj.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk 753983126f clog.3: SEE ALSO: Add reference to clog(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk bd2c87dbd1 cexp.3: SEE ALSO: add cexp(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk 5be56312b0 cacosh.3, casinh.3, catan.3, catanh.3: SEE ALSO: Add reference to inverse function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk 587977c40b casin.3: SEE ALSO: s/csin/ccos/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk f54fb0fa66 ccos.3, ccosh.3, csin.3, csinh.3, ctan.3, ctanh.3: SEE ALSO Add reference to "arc" inverse function
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk 09a15e3d9e carg.3: Add "complex" to NAME line
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk 8fa05874cc cacos.3: Add example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk 849ef4a8ed catanh.3: Add example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk c05ed63add catan.3: Add example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk 8b57a223ab cacosh.3: Add example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk 4c3fa19d23 cacos.3, cacosh.3, catan.3, catanh.3: Fix formula describing function
The man pages for cacos(), cacosh(), catan(), catanh()
contain incorrect formulae describing the functions.

As reported by Richard B. Kreckel:

cacos, cacosf, cacosl:
    The formula given in the man page
      cacos(z) = -i clog(z + csqrt(z * z - 1))
    gives wrong results in second and fourth quadrant of
    complex plain.
    The formula
      cacos(z) = -i clog(z + I*csqrt(1 - z * z))
    gives correct results.

catan, catanf, catanl:
    The formula given in the man page
      catan(z) = 1 / 2i clog((1 + iz) / (1 - iz))
    gives wrong results on the negative imaginary axis beginning
    at -I (along one of the two branch cuts). Besides, the formula
    is written in an ambiguous way.
    The formula
      catan(z) = (clog(1 + iz) - clog(1 - iz)) / 2i
    gives correct results.

cacosh, cacoshf, cacoshl:
    The formula given in the man page
      cacosh(z) = (0.5) * clog((1 + z) / (1 - z))
    gives wrong results everywhere in the complex plain.
    (The formula seems to be copied from the one for catanh,
    where it is sometimes correct.)
    The formula
      cacosh(z) = 2 * clog(csqrt((z + 1)/2) + csqrt((z - 1)/2))
    gives correct results.

catanh, catanhf, catanhl:
    The formula given in the man page
      catanh(z) = 0.5 * clog((1 + z) / (1 - z))
    gives wrong results on the positive real axis beginning at 1
    (along one of the two branch cuts).
    The formula
      catanh(z) = 0.5 * (clog(1 + z) - clog(1 - z))
    gives correct results.

I've also checked casin, casinf, casinl, casinh, casinhf, and
casinhl and the formulae given there
      casin(z) = -i clog(iz + csqrt(1 - z * z))
      casinh(z) = clog(z + csqrt(z * z + 1))
are actually correct.

Reported-by: Richard B. Kreckel <kreckel@ginac.de>
Reviewed-by: Andries Brouwer <Andries.Brouwer@cwi.nl>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:49 +02:00
Michael Kerrisk 3c5faf1171 crypt.3: Fix header file and feature test macro requirements for crypt_r()
Reported-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Regid Ichira 20479b6639 fflush.3: Fix wording error
See http://bugs.debian.org/cgi-bin/bugreport.cgi?614021

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Michael Kerrisk 4c4d76cd30 memcmp.3: Clarify that comparison interprets bytes as "unsigned char"
Reported-by: Sebastian Unger <sebunger@gmx.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Michael Kerrisk c28d4af607 lockf.3: ERRORS: EBADF can also occur for nonwritable file descriptor
As noted in the DESCRIPTION, the file descriptor must be writable
in order to place a lock.

Reported-by: Mikel Ward <mikel@mikelward.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Michael Kerrisk 23b903297e siginterrupt.3: Remove misleading sentence about signal(2) and system call interruption
Reported-by: Luis Javier Merino <ninjalj@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Simon Paillard c3074d7061 fallocate.2, kexec_load.2, poll.2, spu_run.2, atan2.3, cbrt.3, clock_getcpuclockid.3, end.3, frexp.3, getgrouplist.3, getifaddrs.3, matherr.3, modf.3, pow.3, pthread_getattr_np.3, pthread_getcpuclockid.3, sched_getcpu.3, tgamma.3, mouse.4, proc.5, feature_test_macros.7, spufs.7: Global fix: properly escape minus sign
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:48 +02:00
Seonghun Lim c658470df6 hsearch.3: Update ERRORS section
EINVAL can occur for hdestroy_r().
EINVAL can't occur for hcreate().
Other minor fixes.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 536bc96676 realpath.3: Fix EINVAL error
Since glibc 2.3, resolved_path can be non-NULL (with the
semantics already documented in the page).

Reported-by: Seonghun Lim <wariua@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Seonghun Lim 7ac6478bdf err.3: Clean up description of error message source
In the second paragraph of DESCRIPTION section, one of the
sources of error messages is incorrect: the four functions obtain
error message only from errno, and "a code" is just relevant
with errc() and warnc(), which are not present on Linux.
see http://www.unix.com/man-page/freebsd/3/ERR/ .

Then, the third paragraph becomes a duplicate.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 33b7fff565 termios.3: Added description of SWTCH character
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 489e425dfa termios.3: Add names of terminal special characters
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 91e2779f87 termios.3: List terminal special characters in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk a6639d0979 termios.3: Add a description of STATUS character
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk d8b24e6ee6 termios.3: Use "terminal special characters" consistently throughout page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk 49438ab7ca wcstombs.3: SEE ALSO: add mbstowcs(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk e8df1b4cc8 mbstowcs.3: SEE ALSO: add reference to wcstombs(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk e2b28c5058 strlen.3: SEE ALSO: Add strnlen(3)
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk b8f7487d1d strnlen.3: CONFORMING TO: Note that strnlen() is in POSIX.1-2008
Reported-by: Jon Grant <jg@jguk.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:47 +02:00
Michael Kerrisk d51529b8d5 termios.3: Add documentation of _POSIX_VDISABLE
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627841

Reported-by: Paul Evans <leonerd@leonerd.org.uk>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Mike Frysinger cb06e4a50f scandir(3): Add ENOENT/ENOTDIR errors
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk 9c60f8f487 strtoul.3: Fix NOTES section constants
Reported-by: Tolga Dalman <tolga.dalman@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Michael Kerrisk 87e5ebf9ff mprotect.2, malloc.3, signal.7: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Johannes Laire 88d95555e4 memchr.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Seonghun Lim d9ec0c6aa9 malloc.3: Reorder prototypes in SYNOPSIS
calloc() comes before realloc() in the other sections,
so should do in SYNOPSIS, too.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Seonghun Lim 01038ebae1 perror.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:46 +02:00
Seonghun Lim 264951bb5d mkstemp.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00
Seonghun Lim e26674fe3f mkstemp.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00
Seonghun Lim 4b9999d6e7 tzset.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00
Seonghun Lim 4a5d77d4d1 sysconf.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00
Seonghun Lim 681445c1da posix_fallocate.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00
Seonghun Lim a60823e295 cmsg.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:45 +02:00
Michael Kerrisk 515bca40af pthread_sigqueue.3: Minor wording fix
Reported-by:  Wei Luosheng <weiluosheng001@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-16 07:00:28 +02:00
Michael Kerrisk 73e670d959 scandir.3: srcfix: Added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2011-09-07 18:45:56 +02:00
Denis Barbier 356df505c0 pthread_sigqueue.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-12-03 07:42:17 +01:00
Petr Uzel ab1d9621fa usleep.3: usleep() suspends calling thread, not process
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-12-03 07:42:17 +01:00
Michael Kerrisk b0226745db lio_listio.3: srcfix: Remove outdated FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-17 07:06:10 +01:00
Michael Kerrisk 02a7d76f08 pthread_sigqueue.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-17 06:57:14 +01:00
Michael Kerrisk d56af11baa pthread_sigqueue.3: New page documenting ptrhead_sigqueue()
pthread_sigqueue() is new in glibc 2.11 (requires a kernel with
rt_tgsigqueinfo(), added in Linux 2.6.31).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-16 07:48:01 +01:00
Michael Kerrisk be78d88194 memcpy.3: Change "should not overlap" to "must not overlap"
glibc 2.12 changed things so that applications that use memcpy() on
overlapping regions will encounter problems. (The standards have
long said that the behavious is undefined if the memory areas
overlap.)

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=603144
In reference of http://lwn.net/Articles/414467/
and http://article.gmane.org/gmane.comp.lib.glibc.alpha/15278

Reported-by: Lars Wirzenius <liw@liw.fi>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-15 07:10:55 +01:00
Michael Kerrisk 0ef846029d ftok.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-12 06:36:30 +01:00
Michael Kerrisk dfac43955e intro.3: Added various pages to SEE ALSO
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-11 06:55:48 +01:00
Michael Kerrisk 6d678d7702 printf.3: Formatting fixes in example code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-11 05:53:39 +01:00
Michael Kerrisk 505051cb9a getutent.3: ffix
Reported-by: Yuri Kozlov <yuray@komyakino.ru>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-04 07:23:05 +01:00
Michael Kerrisk d5e2db539d clone.2, fcntl.2, euidaccess.3, getopt.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 15:53:53 +01:00
Michael Kerrisk 0b80cf56e3 Changes, clone.2, mount.2, nanosleep.2, sigaltstack.2, statfs.2, timer_settime.2, ctime.3, fmemopen.3, nl_langinfo.3, posix_memalign.3, pthread_attr_init.3, pthread_setaffinity_np.3, pthread_setschedprio.3, pthread_testcancel.3, setjmp.3, sigwait.3, tty_ioctl.4, epoll.7, posixoptions.7, unix.7: Add section number to references to functions documented in other pages
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 08:07:28 +01:00
Michael Kerrisk b1e9ce70b2 psignal.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 08:03:35 +01:00
Michael Kerrisk 705b3a5c1d modf.3: tfix: s/modl/modfl/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:53:34 +01:00
Michael Kerrisk dbf9befcf7 getutent.3: wfix: s/pututent/pututline/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:49:07 +01:00
Michael Kerrisk 9afb166c54 makedev.3: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:27:20 +01:00
Michael Kerrisk 82b6d79719 timer_create.2, timer_delete.2, timer_getoverrun.2, timer_settime.2, dprintf.3, aio.7: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:21:04 +01:00
Michael Kerrisk 9db92f1640 setaliasent.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:20:22 +01:00
Michael Kerrisk 27807c324f Changes, keyctl.2, request_key.2, subpage_prot.2, syslog.2, pthread_kill.3: ERRORS: Place errors in alphabetical order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:18:03 +01:00
Michael Kerrisk eb0ac593e2 wctype.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 07:04:52 +01:00
Michael Kerrisk 27d47e71ef Changes, access.2, clone.2, aio_init.3, atexit.3, makecontext.3, makedev.3, pthread_attr_setdetachstate.3, pthread_exit.3: Remove redundant section number in page references
Remove section number in function references that are for
functions documented on this page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 06:59:37 +01:00
Michael Kerrisk 3e5c319e24 clock_nanosleep.2, getpriority.2, kexec_load.2, nanosleep.2, nice.2, sched_setaffinity.2, timer_create.2, timer_delete.2, timer_settime.2, utime.2, btowc.3, futimes.3, log.3, pthread_attr_setguardsize.3, pthread_kill_other_threads_np.3, pthread_setaffinity_np.3, pthread_setcancelstate.3, pthread_setschedparam.3, pthread_setschedprio.3, pthread_tryjoin_np.3, strcoll.3, strcpy.3, string.3, strxfrm.3, networks.5, aio.7, sigevent.7, udplite.7: SEE ALSO: Place entries in correct order
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-11-01 06:35:42 +01:00
Michael Kerrisk 0a4f8b7bb4 getresuid.2, intro.2, mremap.2, open.2, poll.2, posix_fadvise.2, pread.2, remap_file_pages.2, setresuid.2, signal.2, splice.2, sync_file_range.2, tee.2, vmsplice.2, INFINITY.3, asprintf.3, assert_perror.3, basename.3, bsd_signal.3, canonicalize_file_name.3, clog10.3, crypt.3, dl_iterate_phdr.3, dlopen.3, dprintf.3, encrypt.3, exp10.3, fcloseall.3, fenv.3, ffs.3, fmemopen.3, fopencookie.3, ftw.3, getdate.3, getline.3, getloadavg.3, getopt.3, getsubopt.3, getutent.3, grantpt.3, hsearch.3, intro.3, lseek64.3, memmem.3, mempcpy.3, mq_receive.3, mq_send.3, posix_fallocate.3, pow10.3, program_invocation_name.3, ptsname.3, putgrent.3, readdir.3, sigset.3, sincos.3, stpcpy.3, stpncpy.3, strchr.3, strfry.3, strnlen.3, strptime.3, strsignal.3, strstr.3, strverscmp.3, swab.3, sysv_signal.3, tsearch.3, unlocked_stdio.3, unlockpt.3, wcpcpy.3, wcpncpy.3, wcsdup.3, wcwidth.3: SEE ALSO: Remove redundant reference to feature_test_macros(7)
Reported-by: Florian Lehmann <flo.lehmann@googlemail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 06:06:58 +01:00
Michael Kerrisk eea5f17b66 strnlen.3: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 05:53:37 +01:00
Michael Kerrisk 9e4af1fec2 sched_getcpu.3: Fix feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 05:51:54 +01:00
Michael Kerrisk b80f966bb0 getresuid.2, mremap.2, poll.2, remap_file_pages.2, setresuid.2, splice.2, sync_file_range.2, syscall.2, tee.2, vmsplice.2, INFINITY.3, aio_init.3, asprintf.3, assert_perror.3, basename.3, bsd_signal.3, canonicalize_file_name.3, clog10.3, crypt.3, dl_iterate_phdr.3, dlopen.3, encrypt.3, exp10.3, fcloseall.3, fenv.3, fopencookie.3, ftw.3, getaddrinfo_a.3, getloadavg.3, getutent.3, grantpt.3, hsearch.3, lseek64.3, memmem.3, mempcpy.3, pow10.3, program_invocation_name.3, ptsname.3, putgrent.3, sched_getcpu.3, sincos.3, strchr.3, strfry.3, strnlen.3, strptime.3, strstr.3, strverscmp.3, swab.3, sysv_signal.3, tsearch.3, unlockpt.3, wcwidth.3: Add reference to feature_test_macros(7)
Some pages simply list feature test macro requirements in
the form:

    #define #GNU_SOURCE
    #include <someheader.h>

For these pages, add a "See feature_test_macros(7)" comment
on the "#define" line.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 05:31:47 +01:00
Michael Kerrisk f95b57bdc7 fenv.3: Clarify wording relating to glibc version
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-31 05:17:37 +01:00
Michael Kerrisk 8d81c0c9e6 euidaccess.3: Note the use of faccessat(2) to operate on symbolic links
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 09:41:36 +02:00
Michael Kerrisk d8f2cf30d4 euidaccess.3: Note that the use of euidaccess() is racy
Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-24 09:25:41 +02:00
Bernhard Walle e5266ff974 getopt.3: Use constants in getopt_long() example
The description of getopt_long() mentions the constants
required_argument, no_argument and optional_argument.
Use them in the example to make the code easier to understand.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
2010-10-24 09:05:10 +02:00
Michael Kerrisk b39f3e059c getgrent.3, getgrent_r.3, getgrnam.3: Refer reader for group(5) for more ino on group structure
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-21 11:55:14 +02:00
Michael Kerrisk 7f12f11793 getpw.3, getpwent.3, getpwent_r.3: Refer reader to passwd(5) for more info on the passwd structure
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-21 11:55:14 +02:00
Michael Kerrisk 958680cd75 getpwent.3, getpwnam.3: Note that pw_gecos is not in POSIX
And change the comment describing this field

Reported-by: Reuben Thomas <rrt@sc3d.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-21 11:54:48 +02:00
Michael Kerrisk 59f65cfddc getpw.3: Change comment describing pw_gecos
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-21 11:43:32 +02:00
Michael Kerrisk 97724acd24 getpwent_r.3: Change comment describing pw_gecos
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-21 11:43:32 +02:00
Michael Kerrisk 011520b834 getpwnam.3: Some rewording and restructuring
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-21 11:43:32 +02:00
Michael Kerrisk 00b301818f lio_listio.3: New page documenting lio_listio(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-20 13:27:30 +02:00
Michael Kerrisk dcb3ebed32 malloc_hook.3: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-19 16:53:32 +02:00
Ivana Varekova d722a8bc9f malloc_hook.3: Warn that these functions are deprecated
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-19 12:32:26 +02:00
Michael Kerrisk a57970603e malloc_hook.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-19 12:22:07 +02:00
Michael Kerrisk 655d270c45 malloc.3: Emphasize that malloc() and realloc() do not initialize allocated memory
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-18 11:26:42 +02:00
Michael Kerrisk b4b57a9560 malloc.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-18 11:21:08 +02:00
Michael Kerrisk 5a967b5861 pthread_setaffinity_np.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-15 08:29:41 +02:00
Michael Kerrisk b218b02329 open.2, poll.2, select_tut.2, getpt.3, openpty.3, posix_openpt.3, ptsname.3, unlockpt.3, pts.4, tty_ioctl.4, proc.5, pty.7: spfix: s/psuedoterminal/psuedoterminal/g
Reported-by: Denis Barbier <bouzim@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-13 05:32:15 +02:00
Michael Kerrisk 14f840aaf3 grantpt.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:58:19 +02:00
Michael Kerrisk 6d4268dfe0 grantpt.3, ptsname.3, unlockpt.3, pts.4: Global fix: s/pty/pseudoterminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:55:18 +02:00
Michael Kerrisk 662b2137e8 open.2, poll.2, select_tut.2, getpt.3, grantpt.3, openpty.3, posix_openpt.3, ptsname.3, unlockpt.3, pts.4, tty_ioctl.4, proc.5, pty.7: Global fix: s/pseudo-terminal/pseudoterminal/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:51:51 +02:00
Michael Kerrisk 4891f52a48 recv.2, cmsg.3, unix.7: global fix: s/UNIX socket/UNIX doamin socket/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:49:35 +02:00
Michael Kerrisk 008f1ecc43 intro.1, time.1, accept.2, bind.2, connect.2, execve.2, flock.2, getdents.2, getpriority.2, getuid.2, intro.2, ioctl.2, mincore.2, mknod.2, personality.2, ptrace.2, read.2, recv.2, select_tut.2, send.2, sendfile.2, shmctl.2, sigaction.2, signal.2, stat.2, times.2, truncate.2, umask.2, wait.2, MB_CUR_MAX.3, MB_LEN_MAX.3, argz_add.3, btowc.3, clearenv.3, clock.3, cmsg.3, end.3, endian.3, errno.3, exit.3, fgetwc.3, fgetws.3, fopen.3, fputwc.3, fputws.3, fseek.3, fwide.3, getfsent.3, getgrnam.3, gethostid.3, getipnodebyname.3, getmntent.3, getpwnam.3, getwchar.3, grantpt.3, iconv.3, iconv_close.3, iconv_open.3, insque.3, intro.3, iswalnum.3, iswalpha.3, iswblank.3, iswcntrl.3, iswctype.3, iswdigit.3, iswgraph.3, iswlower.3, iswprint.3, iswpunct.3, iswspace.3, iswupper.3, iswxdigit.3, malloc.3, mblen.3, mbrlen.3, mbrtowc.3, mbsinit.3, mbsnrtowcs.3, mbsrtowcs.3, mbstowcs.3, mbtowc.3, mkstemp.3, mktemp.3, nl_langinfo.3, openpty.3, posix_openpt.3, printf.3, ptsname.3, putwchar.3, qecvt.3, rcmd.3, readdir.3, rexec.3, rpc.3, setnetgrent.3, shm_open.3, sigpause.3, stdin.3, stpcpy.3, strftime.3, strptime.3, syslog.3, towctrans.3, towlower.3, towupper.3, ttyslot.3, ungetwc.3, unlocked_stdio.3, wcpcpy.3, wcpncpy.3, wcrtomb.3, wcscasecmp.3, wcscat.3, wcschr.3, wcscmp.3, wcscpy.3, wcscspn.3, wcsdup.3, wcslen.3, wcsncasecmp.3, wcsncat.3, wcsncmp.3, wcsncpy.3, wcsnlen.3, wcsnrtombs.3, wcspbrk.3, wcsrchr.3, wcsrtombs.3, wcsspn.3, wcsstr.3, wcstok.3, wcstombs.3, wcswidth.3, wctob.3, wctomb.3, wctrans.3, wctype.3, wcwidth.3, wmemchr.3, wmemcmp.3, wmemcpy.3, wmemmove.3, wmemset.3, wprintf.3, console_ioctl.4, pts.4, elf.5, filesystems.5, hosts.5, proc.5, ttytype.5, boot.7, capabilities.7, credentials.7, epoll.7, glob.7, koi8-r.7, path_resolution.7, pty.7, signal.7, suffixes.7, time.7, unicode.7, unix.7, uri.7, utf-8.7: global fix: s/Unix/UNIX/
The man pages were rather inconsistent in the use of "Unix"
versus "UNIX". Let's go with the trademark usage.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:49:17 +02:00
Michael Kerrisk 1f409d5d0b fmtmsg.3, gethostbyname.3, termios.3: Global fix: s/Unixware/UnixWare/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:44:46 +02:00
Michael Kerrisk 930e3731ff psignal.3: Update BUGS section; both psiginfo() bugs are reportedly now fixed
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-12 06:14:39 +02:00
Michael Kerrisk 83e5bed5a5 strcpy.3: Formatting fixes in strncpy() example implementation code
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-10-11 08:09:30 +02:00