Commit Graph

2262 Commits

Author SHA1 Message Date
Matthew Flaschen 3c78ebef9d log2.3: log2() function does not conform to C89
log2, log2f, and log2l do not conform to C89.
They are defined in C99.  See http://flash-gordon.me.uk/ansi.c.txt
and http://www.schweikhardt.net/identifiers.html

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-12 09:18:46 +02:00
Michael Kerrisk 7d3b7c75c3 cerf.3: Make it clearer that this function is unimplemented
Reported-by: <ozgur.gurcan@lpp.polytechnique.fr>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-12 08:52:19 +02:00
Michael Kerrisk 1a8432f1e2 expm1.3: Minor fix: remove duplicate BUGS heading
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-12 08:38:17 +02:00
Michael Kerrisk e20e01df59 pow.3: errno is now correctly set to ERANGE on a pole error
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6776
was (silently) resolved.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-12 08:37:16 +02:00
Michael Kerrisk d14e12dba5 cos.3, expm1.3, sin.3, tan.3: Remove crufty text left over after recent fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-12 08:37:16 +02:00
Michael Kerrisk 9343357b3b fmod.3: errno is now correctly set to EDOM for the x==inf domain error
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6784
was (silently) resolved.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-12 08:37:16 +02:00
Michael Kerrisk 12fd93512e expm1.3: errno is now correctly set to ERANGE on a range error
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6788
was (silently) resolved.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-12 08:37:16 +02:00
Michael Kerrisk e472357803 tan.3: errno is now correctly set to EDOM on a domain error
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6782
was (silently) resolved.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 17:11:21 +02:00
Michael Kerrisk 7848c0dc34 sin.3: errno is now correctly set to EDOM on a domain error
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6781
was (silently) resolved.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 17:10:26 +02:00
Michael Kerrisk 3e72368940 cos.3: errno is now correctly set to EDOM on a domain error
http://sources.redhat.com/bugzilla/show_bug.cgi?id=6780
was (silently) resolved.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 17:03:53 +02:00
Michael Kerrisk 707a25b2d5 lgamma.3: glibc 2.10 fixed pole error bug
http://sourceware.org/bugzilla/show_bug.cgi?id=6777
was (silently) resolved.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 16:22:04 +02:00
Michael Kerrisk 1f6982a0db atanh.3: glibc 2.10 fixed pole error bug
http://sourceware.org/bugzilla/show_bug.cgi?id=6759
was resolved.

Reported-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Reported-by: Jan Kratochvil  <jan.kratochvil@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 16:13:24 +02:00
Michael Kerrisk 36f9a7fea1 ffs.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 06:33:34 +02:00
Michael Kerrisk a9c6f6589e ffs.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 06:33:13 +02:00
Michael Kerrisk 535f0df5e8 clock_nanosleep.2, clock_getcpuclockid.3, getnetent_r.3, getprotoent_r.3, getrpcent_r.3, getservent_r.3, sigwait.3: RETURN VALUE: Note that "positive error numbers" are listed in ERRORS
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:49:10 +02:00
Michael Kerrisk 636036b6b1 readdir.3: Clarify that "positive error numbers" are listed in ERRORS
Reported-by fkater@googlemail.com
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:43:12 +02:00
Michael Kerrisk 86b91fdffb accept.2, clone.2, dup.2, fallocate.2, pipe.2, readahead.2, sched_setaffinity.2, unshare.2, CPU_SET.3, endian.3, euidaccess.3, fexecve.3, getpt.3, getpw.3, getumask.3, getutmp.3, gnu_get_libc_version.3, makedev.3, matherr.3, mbsnrtowcs.3, memfrob.3, pthread_attr_setaffinity_np.3, pthread_getattr_np.3, pthread_setaffinity_np.3, pthread_tryjoin_np.3, tcgetsid.3, wcscasecmp.3, wcsncasecmp.3, wcsnlen.3, wcsnrtombs.3, wcswidth.3, rtld-audit.7: SYNOPSIS: Add reference to feature_test_macros(7)
These pages specify feature test macros in the function
prototypes. Add a reference to feature_test_macros(7),
so that readers are pointed to the information that
feature test macros must be defined before including
*any* header file.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:06:22 +02:00
Michael Kerrisk 090e0f8c7d rexec.3: SYNOPSIS: Add header file and feature test macro requirements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:58:38 +02:00
Michael Kerrisk e417acb023 fcntl.2, intro.2, open.2, poll.2, ftw.3, intro.3, matherr.3, system.3, tmpnam.3, unix.7: Note that feature test macros must be defined before *any* includes
Programmers often make the mistake of including a feature test
macro only after having already included some header files.
This patch adds some text at opportune places to remind
programmers to do things the right way.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:33:31 +02:00
Michael Kerrisk be0349596f insque.3: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 09:54:35 +02:00
Michael Kerrisk 60f4b757b2 insque.3: Noted prev == NULL bug in glibc 2.4 and earlier
As noted by Remi Denis-Courmont, glibc nowadays allows
'prev' to be NULL, as required by POSIX for initializing
a linear list. But in glibc 2.4 and earlier, 'prev' could
not be NULL. Add a BUGS section noting this.

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

Reported-by: Remi Denis-Courmont <remi@remlab.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 09:46:29 +02:00
Michael Kerrisk d26b92899b insque.3: Added example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 09:46:10 +02:00
Michael Kerrisk e413450ebf insque.3: Added info on circular lists, and initializing circular lists
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 09:45:35 +02:00
Michael Kerrisk c1d4c8a31e insque.3: Added information on circular lists, and example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 09:44:31 +02:00
Michael Kerrisk 0a96a9f072 pthread_kill_other_threads_np.3: CONFORMING TO: Note meaning of "_np" suffix
Reported-by: Denis Silakov <silakov@ispras.ru>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 08:10:51 +02:00
Michael Kerrisk 583dc9ac63 pthread_getattr_np.3: grfix
Reported-by: Denis Silakov <silakov@ispras.ru>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 08:07:04 +02:00
Michael Kerrisk 72542487e7 getaddrinfo.3, getipnodebyname.3, initrd.4, st.4: minor: update timestamps
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-09-04 07:19:26 +02:00
Michael Kerrisk 78ca89ac9a mq_send.3: Fix EAGAIN description (s/empty/full)
Reported-by: Peter Stuge <peter@stuge.se>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-31 06:22:19 +02:00
Michael Kerrisk 38254b5489 getsubopt.3:Minor wording fix ("null byte")
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 08:57:21 +02:00
Peng Haitao 4c6267515f a64l.3: Fix error in NOTES, s/a64l/l64a/
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 08:20:19 +02:00
Lnac Huard c9e83f0678 mq_getsetattr.2, mq_close.3, mq_getattr.3, mq_notify.3, mq_send.3, mq_unlink.3: Fix return type in SYNOPSIS (s/mqd_t/int/)
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:36:55 +02:00
Michael Kerrisk 5f14486cd6 ctime.3: wfix
Reported-by: TAN Yee Fan <tanyeefa@comp.nus.edu.sg>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:18:28 +02:00
Michael Kerrisk f1bb2402a6 error.3: grfix
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:12:51 +02:00
Michael Kerrisk 97a21066e9 error.3: ffix
Reported-by: Linus Nilsson <lajnold@gmail.com>
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:11:14 +02:00
Linus Nilsson 4bcba56480 error.3: Change "perror" to "strerror" in DESCRIPTION of error()
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:10:24 +02:00
Martin Schulze f047598807 statvfs.3: minor: Fix section number in .TH line
Signed-off-by: Michael Kerrisk <mtk@konstanz.(none)>
2010-08-29 07:01:44 +02:00
Michael Kerrisk b7d6564bc2 getipnodebyname.3: s/logical OR/bitwise OR/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 11:32:18 +02:00
Michael Kerrisk 9ccbb26ca7 CPU_SET.3: Small fixes to langauage around OR, AND, and XOR operations
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 11:31:31 +02:00
Michael Kerrisk 414ed40ccf getaddrinfo.3: s/logical O/bitwise OR/
Reported-by: Scott Walls <sawalls@umich.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-26 11:21:14 +02:00
Michael Kerrisk 92c1db72e2 madvise.2, mmap.2, crypt.3, opendir.3: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 05:46:00 +02:00
Michael Kerrisk dec96d20ea getpass.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 04:05:35 +02:00
Michael Kerrisk 35292c5da1 termios.3: tsamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 04:04:57 +02:00
Michael Kerrisk 6e502d4782 termios.3: Change NOFLSH text to speak of characters, not signals
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 04:04:05 +02:00
Michael Kerrisk 7065c4f7fc fenv.3: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-20 04:00:34 +02:00
Michael Kerrisk ec92bd800a mkstemps.3, mkostemps.3: New links to mkstemp.3
mkstemp.3 now describes mkstemps(3) and mkostemps(3).

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 05:21:34 +02:00
Michael Kerrisk 5f58cee871 mkstemp.3: Document mkstemps() and mkostemps()
These functions are new in glibc 2.11. They allow the template
string to include a suffix after the "XXXXXX" string.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-19 05:19:44 +02:00
Michael Kerrisk a9f50aa383 resolver.3: Fix declaration of dn_comp() in SYNOPSIS
Remove the second 'exp_dn' from the calling signature.

Reported-by: Gernot Tenchio <gernot@tenchio.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 23:20:21 +02:00
Christian Franke af4a01eb57 getaddrinfo.3: Fix a field name mixup: s/ai_family/ai_flags/
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-16 22:54:52 +02:00
Michael Kerrisk b8b3976603 fstatvfs.3: New link to page relocated to Section 3
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:55:06 +02:00
Michael Kerrisk 33a93cdf66 statvfs.2: Move this page to section 3 (since it's a library call)
Reported-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-06-13 05:51:45 +02:00