Commit Graph

92 Commits

Author SHA1 Message Date
Michael Kerrisk b559f81802 Added tdestroy to .TH line 2005-06-23 14:17:03 +00:00
Michael Kerrisk dc59ae5332 New link to tsearch.3 2005-06-23 14:16:40 +00:00
Michael Kerrisk a03d317bf7 Added definition of Linux dirent structure.
Some formatting cleanups.
2005-06-23 14:08:59 +00:00
Michael Kerrisk 08f75afe48 Added #define _BSD_SOURCE to prototype 2005-06-23 13:50:48 +00:00
Michael Kerrisk 1b825ab4b4 Noted use of atexit() for establishing function to be invoked on shared library
unload.
Noted that atexit()-registered functions are not invoked on abnormal
termination.
Formatting fixes.
2005-06-23 10:01:26 +00:00
Michael Kerrisk 87ed9800a4 Formatting fixes 2005-06-23 09:58:22 +00:00
Michael Kerrisk a210091ced Reversed 2.04 introduction of the term "process termination function".
Minor rewording and formatting fixes.
2005-06-23 09:47:01 +00:00
Michael Kerrisk 18f2ce4067 Reversed 2.04 introduction of the term "process termination function". 2005-06-23 09:45:21 +00:00
Michael Kerrisk 4b4a8feb2d Minor fixes 2005-06-22 07:19:03 +00:00
Michael Kerrisk b6a37c735b Added ERANGE error 2005-06-21 16:03:30 +00:00
Michael Kerrisk 7747fbdca6 Fixed descriptotion of header file reqmts in prototype, 2005-06-21 14:44:34 +00:00
Michael Kerrisk f10e41020d Fix description of return value. 2005-06-21 13:47:59 +00:00
Michael Kerrisk 9331995aab Add log1p(3) to SEE ALSO.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=309578
2005-06-21 13:00:02 +00:00
Michael Kerrisk 961abb97af Fix typo: "_SC_2_DEV" should be "_SC_2_C_DEV" 2005-06-21 11:30:37 +00:00
Michael Kerrisk 3678235c1f When specifying resolved_path as NULL, realpath()
will (still) only allocate up to PATH_MAX bytes.
Plus other minor changes.
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=239424
2005-06-21 11:20:42 +00:00
Michael Kerrisk 6e657687f9 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=194842
Because RAND_MAX is equal to INT_MAX, the following expression
contained in the manpage for rand(3) is slightly incorrect.
j=1+(int) (10.0*rand()/(RAND_MAX+1.0));

The correct expression should use parentheses to group the division
before the multiplication, thus yielding:
j=1+(int) (10.0*(rand()/(RAND_MAX+1.0)));

This is not an error where 10.0 is a floating point number, however
where 10.0 is replaced with an integer, this will cause the expression
to always evaluate to 1. (The addition of two parentheses would make
this bug a lot more difficult to make.)
2005-06-21 09:22:02 +00:00
Michael Kerrisk 3876c0e522 See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=118752 2005-06-21 08:55:14 +00:00
Michael Kerrisk 1b05fb00b3 Changed (char *) to (void *) in example.
See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=313607
2005-06-17 13:34:00 +00:00
Michael Kerrisk 475f1bca2c Arg for %p is a pointer to _a pointer to_ void.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=263109
2005-06-17 13:06:58 +00:00
Michael Kerrisk 6a4c2e3618 freopen(3) can change file descriptor associations of stin/stdout/stderr 2005-06-16 16:10:05 +00:00
Michael Kerrisk b99cf1e0e8 strerror_r(3) requires #define _XOPEN_SOURCE 600 2005-06-16 16:09:25 +00:00
Michael Kerrisk 4f90a5f34e Removed erroneous description of makecontext() return value.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311800
2005-06-16 14:37:57 +00:00
Michael Kerrisk 8729177b44 global edit s/ -1/ \\-1/g 2005-06-15 14:10:23 +00:00
Michael Kerrisk f59a3f1941 Global edit: s/nonzero/non-zero/ 2005-06-15 13:32:34 +00:00
Michael Kerrisk 54221c6a41 Various minor changes 2005-06-14 11:25:12 +00:00
Michael Kerrisk 027df6e02d Wording improvements 2005-06-14 11:22:23 +00:00
Michael Kerrisk 5af3e8eeee Wording improvements 2005-06-14 11:22:06 +00:00
Michael Kerrisk 5984622e7b Added_CS_GNU_LIBC_VERSION and_CS_GNU_LIBPTHREAD_VERSION. 2005-05-09 10:53:56 +00:00
Michael Kerrisk 0359df8c95 Added FIXME 2005-05-09 10:37:48 +00:00
Michael Kerrisk 704a18f06d Fixed typos and spelling mistakes 2005-04-18 13:35:29 +00:00
Michael Kerrisk c93df97462 Removed SEE ALSO reference to non-existent newctime(3) 2005-04-06 13:10:34 +00:00
Michael Kerrisk 7257eeb80e Added description of strcasestr(). 2005-04-05 14:01:07 +00:00
Michael Kerrisk bbcdba9c19 Link to strstr.3 2005-04-05 14:00:36 +00:00
Michael Kerrisk b6dd43ba57 Heikki Orsila <shd@modeemi.cs.tut.fi>:
bcopy handles overlapping case, but memcpy does not,
so for consistency memmove should be also mentioned.
2005-04-04 17:03:48 +00:00
Michael Kerrisk b4ab6f83e1 "may not" --> "should not", after suggestion from
Sasa Stevanovic <mg94c18@alas.matf.bg.ac.yu>
2005-04-04 09:27:23 +00:00
Michael Kerrisk d5d202ca89 Link to man3/getmntent.3 2005-03-31 14:17:46 +00:00
Michael Kerrisk 7f564f717e Noted that SUSv2 allowed a range of 00 to 61 for %S specifier. 2005-03-31 13:22:34 +00:00
Michael Kerrisk 3047394a62 Tony Crawford
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=270817
Formulae on the pages should be T = S / C not T = C / S.
2004-12-20 13:43:09 +00:00
Michael Kerrisk dc23fde14f Pedro Zorzenon
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=242638
    Noted use of _XOPEN_SOURCE to get macros <sytdlib.h>
    as for wait(2).

mtk
    Changed name of argument from 'string' to 'command' (like POSIX).

    Noted that glibc does nowadays explicitly check for the existence
    of the shell if 'command' is NULL, rather than the older behaviour
    of assuming the shell exists and always returning 1 if
    'command' is NULL.

    Other wording and formatting clean-ups.
2004-12-20 13:24:38 +00:00
Michael Kerrisk cca657e227 triggered by http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=283179
The wording describing how errno is set was tidied up in a number of
pages.
2004-12-20 12:24:06 +00:00
Michael Kerrisk 0c00f46ce7 Cartsen Hey
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=276248

    Changed range for "%S" from 0..61 to 0..60.

    SUSv3 says 0..60.  I think the manual page probably says
    0..61, because that's what SUSv2 said.
    (Some other implementations' man pages also say 0..61 --
    e.g., Solaris 8 & 9, Tru64 5.1B; FreeBSD 5.1 says 0..60.)

    The glibc manual currently says 0..60.

    Given that SUSv3 says 0..60, I've changed this the
    manual page to also say this:

        -The second as a decimal number (range 00 to 61).
        +The second as a decimal number (range 00 to 60).
        +(The range is up to 60 to allow for occasional leap seconds.)
2004-12-20 11:22:11 +00:00
Michael Kerrisk d536842d52 Marek Habersack <grendel@debian.org>
.SH "CONFORMING TO"
-BSD 4.4
+BSD 4.4, SUSv3
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=234443
2004-12-20 10:54:45 +00:00
Michael Kerrisk 50a0922f20 Johannes Berg / http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=226974
-.BR POSIX2_FORT_RUN " - " _SC_2_FORT_DEV
        +.BR POSIX2_FORT_DEV " - " _SC_2_FORT_DEV<F2>
2004-12-20 10:45:56 +00:00
Michael Kerrisk a2ef1094f4 Fix typo as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=224953
Changed erroneous "aio_return(2)" to "aio_return(3)"
2004-12-20 10:14:48 +00:00
Michael Kerrisk d49daffc1a Joshua Kwan
Added _GNU_SOURCE to prototype
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=213538
2004-12-17 15:10:49 +00:00
Michael Kerrisk e03e2055bc add <fcntl.h> to synopsis 2004-12-17 14:05:55 +00:00
Michael Kerrisk 5f59e24802 Fix typo 2004-12-17 13:52:17 +00:00
Michael Kerrisk 4710caba23 New my mtk 2004-12-17 12:53:02 +00:00
Michael Kerrisk a856c2ea74 Changed SEE ALSO 2004-12-17 12:46:00 +00:00
Michael Kerrisk 85eb6f2852 Minor wording 2004-12-17 12:40:52 +00:00