Re: what is cdecl



In article <dc9961c7-c740-4f15-88a8-206ef195648b@xxxxxxxxxxxxxxxxxxxxxxxxxx>,
Amandil <mazwolfe@xxxxxxxxx> wrote:
Hi, all.

I know this is not standard C, but I see the word cdecl used as a type
qualifier (?) in external declarations - including the standard
headers - and I'd like to know what it means (and how they it's used).
It is, as far as I know, an extension to std C by several compilers.
(Some use __cdecl instead, which is allowed by the standard.)

This may be off-topic on clc because it's not standard, but I believe
an extension that is common to many compilers isn't so far off the
mark. I apologize if I'm wrong on that point.

-- Marty Amandil (not quite ready to face the firing squad)

As far as the dorks in this NG are concerned the use of the "cdecl"
"qualifier" is no more (and no less) relevant to the price of hay in
Kansas than is the use of the "ThroatWarbler Mangrove" "qualifier".

.



Relevant Pages

  • Re: calling convention stdcalll and cdecl call
    ... printf is defined in terms of fprintf. ... I don't have C89 standard handy at the moment, ... so a conforming C compiler has to support it. ... would be an improvement over cdecl. ...
    (microsoft.public.vc.language)
  • Re: Doubts about pointers
    ... Then it is not C. 'far' is not a qualifier in standard C. ... Also note that in C99, specifying the return type of the function ...
    (comp.lang.c)
  • Re: 2008 Continental Qualifier System Change
    ... qualifier with 16 or less attendants will yield at least ... Indeed, every standard qualifier with 5 or more attendees generates at least 5 qualifying spots, given the 2008 rules. ...
    (rec.games.trading-cards.jyhad)
  • Viusal Studio Express Editions
    ... What exactly are the MS Visual Studio Express Editions. ... what does the "2008" qualifier on these products mean? ... How do they differ from their corresponding Standard or Professional Edition? ...
    (microsoft.public.vstudio.general)