Commit Graph

22941 Commits

Author SHA1 Message Date
Michael Kerrisk 0680aa5b8a 2004-12-20 14:00:28 +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 d3018c3c5e "from a socket" --> "on a socket" 2004-12-20 10:53:41 +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 66231752c9 2004-12-17 15:28:44 +00:00
Michael Kerrisk cf257cc501 Adjusted descriptors of argument file tyypes to be closer to
2.6 reality.
Wording and formatting changes
2004-12-17 15:27:42 +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
Michael Kerrisk 0543288347 Martin Schulze, mtk
Removed errno declaration from prototype, added notes
on historical need for this declaration.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=174175
2004-12-17 12:20:07 +00:00
Michael Kerrisk 3124d276bf Changed "pseudotty" to "pseudo-terminal" 2004-12-17 11:28:00 +00:00
Michael Kerrisk f677764ce0 Remove funtions that *are* documented. 2004-12-17 11:23:45 +00:00
Michael Kerrisk e0425d7a7c New link to ptsname.3 2004-12-17 11:23:16 +00:00
Michael Kerrisk 728976484c Added ptsname_r() and ERRORS 2004-12-17 11:22:41 +00:00
Michael Kerrisk b05200f368 Change section number in page from 2 to 3 2004-12-17 10:17:35 +00:00
Michael Kerrisk f54bed586e Initial setup for 2.01 release 2004-12-17 08:56:04 +00:00
Michael Kerrisk 105a35bc69 Changed size 2004-12-16 16:34:39 +00:00
Michael Kerrisk db81675e71 2004-12-16 15:39:14 +00:00
Michael Kerrisk 2180930213 2004-12-16 15:38:14 +00:00
Michael Kerrisk dde6ab6cd5 Changed size 2004-12-16 15:08:45 +00:00
Michael Kerrisk 063ef8c3a7 2.00 release files 2004-12-16 14:54:51 +00:00
Michael Kerrisk 9fe6a80667 2004-12-16 14:51:54 +00:00
Michael Kerrisk 168df94099 Enrico Zini
Added text to clarify that S_IS*() macros should be applied
to st_mode field.
as per: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=249698
2004-12-16 14:45:45 +00:00
Michael Kerrisk 8deb0f0d5b After bug report from John V. Belmonte
Updated init and quit scripts to reflect kernel 2.4/2.6 reality
     (Scripts taken from drivers/char/random.c)
     as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=247779
2004-12-16 14:24:00 +00:00
Michael Kerrisk d4e39a3e0a Renamed for 2.00 release 2004-12-15 17:33:21 +00:00
Michael Kerrisk 0ca68756a9 Changed CONFORMING TO 2004-12-15 17:30:03 +00:00
Michael Kerrisk 5c7ed5050a 2004-12-15 17:29:38 +00:00
Michael Kerrisk 3f800aa873 This is the change log of the current release! 2004-12-15 17:04:46 +00:00
Michael Kerrisk 2ff9c803a9 Added SEE ALSO cross refs 2004-12-15 16:42:57 +00:00
Michael Kerrisk 9c59ace465 Removed unused variable in EXAMPLE
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=262567

[[
In va_arg(3), the example function foo (section EXAMPLES, not
COMPARISON) has an unused variable: char *p.
]]
2004-12-15 16:23:30 +00:00
Michael Kerrisk 3d4d911624 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=229618
getnameinfo() does not set errno, it returns a non-zero
value indicating the error.

added EAI_OVERFLOW error
2004-12-15 16:10:55 +00:00
Michael Kerrisk 631f43ca2d Added 'const' to declaration of 'my_addr' in prototype.
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=239762
2004-12-15 15:35:02 +00:00
Michael Kerrisk 51c0e854fb Fix typo 2004-12-15 15:21:11 +00:00
Michael Kerrisk 7841ad4741 Added discussion of resolved_path == NULL 2004-12-15 15:18:55 +00:00
Michael Kerrisk 5d6d14a0c4 updated statm, and fixed error in order of list 2004-12-15 14:12:30 +00:00
Michael Kerrisk a7001bac67 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=210704
[[.TP  
 .B IP_TTL
 -Set or retrieve the current time to live field that is send in every
 packet
 -send from this socket.
 +Set or retrieve the current time to live field that is used in every
 packet
 +sent from this socket.
  
 .TP
 .B IP_HDRINCL
]]
2004-12-15 13:41:16 +00:00
Michael Kerrisk 526f4e1ffe Formatting fixes plus additional material in ERRORS 2004-12-15 13:37:09 +00:00
Michael Kerrisk e28334cee7 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=204292
[[
swapon(2) indicates that EINVAL wil lbe returned only if the path
specified does not exist or is not a block device.

The kernel will also return EINVAL is a swap signature is not detected
on the indicated path as well.
]]
2004-12-15 13:24:42 +00:00
Michael Kerrisk c6c4abc835 Fix typo 2004-12-14 18:39:17 +00:00
Michael Kerrisk 898e9a87df Hello Joey,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=205736

[[
This example contains the following line:

    if ((p = realloc (p, size)) == NULL)
       return NULL;

This is a very ill written code, since realloc returning
NULL do not deallocate the original memory block. Such a 
statement has a potential to become significant memory
hole. I suggest to correct this example since:

1. It may trick naive programmers to write bad code
2. It may lead skeptic observers to the believe 
   the whole Linux is written in a similar style.
   

Regards Jan Kuznik 
]]

This guy is right on the money!

I've changed that example, so that the above code has been replaced by:

    char *np;

    ...


    if ((np = realloc (p, size)) == NULL) {
        free(p);
        return NULL;
    } else {
        p = np;
    }

Cheers,

Michael
2004-12-14 18:25:46 +00:00
Michael Kerrisk 2d5e8aeb73 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=271239
[[
shm_open(3) refers to O_RWDR during discussion of the possible values of
oflags, and later refers to O_RDWR.  The reference to O_RWDR is
incorrect (likely a typo) and should be changed to O_RDWR.
]]
2004-12-14 18:09:58 +00:00
Michael Kerrisk dae9ac9139 bugs.debian.org/cgi-bin/bugreport.cgi?bug=237305
[[
*** cmsg.3.patch
151c151
<      cmsg = CMSG_NXTHDR(&msgh,cmsg) {
---
>      cmsg = CMSG_NXTHDR(&msgh,cmsg)) {

]]
2004-12-14 18:04:59 +00:00