•  Back 
  •  C Language 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : C-Language Documentation
Author      : John Kormylo
Version     : C.HYP 1.0
Subject     : Documentation/C-Language
Nodes       : 233
Index Size  : 6362
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : 
@help       : Help
@options    : +g -i -s +x +z -t4
@width      : 75
View Ref-File[ Functions: cdecl ]

... forces function parameters to be passed on the stack from right
(high) to left (low) according to the C standard.
(One could also set the -H flag of the Compiler Options.)

If you want to link with object modules from another compiler (which
follows the C standard) you should use 'cdecl' in the prototypes for
those functions.

If you want to create object modules to be linked elsewhere, it would
be wise to use 'cdecl' in the function definition.

See also Parameter Passing.