passing variable arguments

Floyd McWilliams fmcwilli at oracle.oracle.com
Tue Jun 12 03:13:32 AEST 1990


In article <1990Jun8.165259.8368 at agate.berkeley.edu>
  dankg at tornado.Berkeley.EDU (Dan KoGai) writes:
>	On C convention, arguments are pushed to the stack right to left
>order before it jumps to the function...

	The order in which arguments are placed on the stack is implementation-
defined.  (In fact, there's nothing that requires compilers to place arguments
on the stack -- they can be passed through registers.)

--
	Floyd McWilliams -- fmcwilli at oracle.com
	Protest censorship -- buy an "obscene" album next time you're in
the Florida Soviet Federated Socialist Republic.



More information about the Comp.lang.c mailing list