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