Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!topaz.rutgers.edu!ron From: ron@topaz.rutgers.edu (Ron Natalie) Newsgroups: comp.lang.c Subject: Re: another auto-increment problem Message-ID: <15298@topaz.rutgers.edu> Date: Sun, 4-Oct-87 14:13:50 EDT Article-I.D.: topaz.15298 Posted: Sun Oct 4 14:13:50 1987 Date-Received: Wed, 7-Oct-87 06:11:49 EDT References: <9600@brl-adm.ARPA> Organization: Rutgers Univ., New Brunswick, N.J. Lines: 14 Even if you treat arguments as being pushed by the caller/popped by the callee, you have an ambiguity. Is the order of the arguments that of the callers (I push the first argument first) or the callees (the first argument is the one I pop off first). Certainly variable number of arguments is easier handled by the first, but they are forbidden in ANSI C anyway. The order is undefined not just because stack arguments may be placed in either order, but because the call linkage is not defined by the C language at all. An implementor is free to place all the args in an envelope and mail them to the subroutine as far as the C standard is concerned. -Ron