Commit Graph

6948 Commits

Author SHA1 Message Date
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 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 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 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
Michael Kerrisk 4c39c55c47 The assert failure messages goes to stderr not stdout.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=284814
2004-12-14 17:46:41 +00:00
Michael Kerrisk 3ba7aed4ab Minor wording changes 2004-12-13 15:39:11 +00:00
Michael Kerrisk 1043e25b6f New page from Andries Brouwer 2004-12-13 12:42:20 +00:00
Michael Kerrisk 67b715573a Richard.Kreckel@ginac.de
Change "NULL" to "empty" when talking about the value of TZ.
http://sources.redhat.com/bugzilla/show_bug.cgi?id=601
2004-12-08 14:54:16 +00:00
Michael Kerrisk 122dff10a6 Small fixes from mtk and Martin Schulze 2004-12-01 14:10:12 +00:00
Michael Kerrisk 6b79fcd53e small fixes from Martin Schulze 2004-12-01 13:56:47 +00:00
Michael Kerrisk 3e53c142b7 Noted that 0 tm_day == last day of preceding month 2004-11-16 13:35:20 +00:00
Michael Kerrisk 462a7bad96 Added "Compile with -std=c99" as suggested by Fabian Kreutz 2004-11-16 11:01:14 +00:00
Michael Kerrisk 4e050476e1 Change suggested by Fabian Kreutz 2004-11-15 13:11:26 +00:00
Michael Kerrisk 7440ec4c09 Fix typo 2004-11-15 12:35:29 +00:00
Michael Kerrisk 3626880689 Added SEE ALSO entries suggested by Fabian Kreutz 2004-11-15 11:59:59 +00:00
Michael Kerrisk d77a26b737 Added SEE ALSO fenv(3) 2004-11-15 11:41:22 +00:00
Michael Kerrisk 4022b76eb8 Added FLT_ROUNDS text as proposed by AEB/Fabian Kreutz 2004-11-15 10:55:23 +00:00
Michael Kerrisk fe71be4b36 fixed error noted by Fabian Kreutz 2004-11-15 08:24:41 +00:00
Michael Kerrisk b45280206e Updates as per suggestions from Fabian Kreutz and AEB 2004-11-12 18:01:15 +00:00
Michael Kerrisk 94426bbfe6 this function is not available in glibc2 (Fabian Kreutz/AEB) 2004-11-12 17:39:18 +00:00
Michael Kerrisk 9dc0b7df22 Added note emphasizing difference in type or return value and funtion argument, as suggested by Fabian Kreutz 2004-11-12 17:18:23 +00:00
Michael Kerrisk 2f5039e158 Added recommendation to use sprintf() as per suggestion of Fabian Kreutz 2004-11-12 16:48:44 +00:00
Michael Kerrisk e6a5772cab These links to frexp.3 were missing 2004-11-12 16:26:12 +00:00
Michael Kerrisk 608e2ed94f a formatting fix 2004-11-12 16:25:23 +00:00
Michael Kerrisk c81ed289dd Link as suggested by AEB/Fabian Kreutz 2004-11-12 14:50:51 +00:00
Michael Kerrisk ba283ad293 Added remquo(3) under SEE ALSO as per AEB's suggestion 2004-11-11 17:54:23 +00:00
Michael Kerrisk d39541ec41 Compressed synopsis as per Fabian Kreutz's suggestion 2004-11-11 17:28:42 +00:00
Michael Kerrisk 78f81fc786 Added sigqueueu(2) to SEE ALSO; changed CONFORMING TO 2004-11-11 14:07:09 +00:00
Michael Kerrisk 2c8d1c7d5e changed spelling of "super-user" to "superuser" 2004-11-10 18:17:26 +00:00
Michael Kerrisk 1bf89c6083 Formatting fix 2004-11-10 17:11:31 +00:00
Michael Kerrisk 305a0578bf Global change of email address for MTK (now: mtk-manpages@gmx.net) 2004-11-03 14:43:40 +00:00
Michael Kerrisk fea681dafb Import of man-pages 1.70 2004-11-03 13:51:07 +00:00