Commit Graph

6471 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 c43b0ac78c getrlimit.2: Document units for RLIMIT_RTTIME limit
This limit is in microseconds

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

Reported-by: Tanaka Akira <akr@fsij.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-12 08:40:54 +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
Jiri Olsa a6e9960e8f ip.7: Document IP_NODEFRAG
This option is new in Linux 2.6.36

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 07:19:10 +02:00
Michael Kerrisk 3ac83a00b6 ip.7: srcfix: Added FIXMEs
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 07:08:30 +02:00
Michael Kerrisk 7aed61d9c0 unix.7: spfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 06:40:34 +02:00
Michael Kerrisk b3a452706f lseek.2: Minor wording changes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 06:40:32 +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 3284fbc0ec lseek.2: Removed note about return type on ancient systems
Reported-by: der Mouse <mouse@rodents-montreal.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-11 06:13:23 +02:00
Michael Kerrisk fa57b2089b shm_overview.7: wfix: s/semaphore/shared memory/
Reported-by: Tim Stoakes <tim@stoakes.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 08:15:31 +02:00
Michael Kerrisk 9326e678ca mount.2: Definitions of various MS_* constants only appeared in glibc 2.12
See http://sourceware.org/bugzilla/show_bug.cgi?id=11235

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 08:09:14 +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 b220f1b53a feature_test_macros.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:19:12 +02:00
Michael Kerrisk e0530cbbdd feature_test_macros.7: Make text on required placement of macros more prominent
Move the text that notes the requirement that feature test macros
must be defined before including any header files to the top of
the page, and highlight the text further, so that the reader will
not miss this point.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:15:16 +02:00
Michael Kerrisk f8b212130c feature_test_macros.7: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:14:41 +02:00
Michael Kerrisk 71a491b144 feature_test_macros.7: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 07:13:11 +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 89ded5e7b7 capget.2: SYNOPSIS: Remove unneeded "undef _POSIX_SOURCE"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:45:26 +02:00
Michael Kerrisk 803e1d2f16 open.2: spfix in source comment
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:37:55 +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 fbea0f8160 unix.7: Document SIOCINQ ioctl() operation
Reported-by: Jim Belton <jim.belton@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:02:16 +02:00
Michael Kerrisk 00c8445384 packet.7: srcfix: added FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:02:16 +02:00
Michael Kerrisk c2aa3e258c tcp.7: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:02:16 +02:00
Michael Kerrisk e9716a4d96 tcp.7: srcfix: added references to glibc bug report
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:02:16 +02:00
Michael Kerrisk f73df7253d tcp.7: Clarify header file details for SIOCINQ and SIOCOUTQ
Also note synonymous FIONREAD and TIOCOUTQ.

Reported-by: Jim Belton <jim.belton@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-10 06:02:00 +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
Denis Barbier 7fcdca3be7 armscii-8.7, cp1251.7, iso_8859-3.7, iso_8859-5.7, iso_8859-6.7, iso_8859-8.7, iso_8859-10.7, iso_8859-11.7, iso_8859-13.7, iso_8859-14.7, koi8-u.7: Fix decimal values in encoding tables
Octal and hexadecimal values are right, but there are some
off-by one errors in decimal values.  Correct values are
printed by this command:

  perl -pi -e 'if (s/^([0-7]+)\t([0-9]+)\t([0-9a-fA-F]+)//)
    {printf "%03o\t%d\t%s", hex($3), hex($3), $3;};' man7/*.7

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2010-09-09 08:02:12 +02:00
Michael Kerrisk 5ce6020026 Start of man-pages-3.27: updating Changes and Changes.old 2010-09-05 18:04:17 +02:00
Michael Kerrisk 37e7fe414c Start of man-pages-3.27: updating .Announce and .lsm files 2010-09-05 18:04:17 +02:00
Michael Kerrisk e4b9252401 Start of man-pages-3.27: renaming .Announce and .lsm files 2010-09-05 18:04:16 +02:00
Michael Kerrisk b8b0fc36a8 Ready for 3.26 2010-09-05 17:17:37 +02:00