Newsgroups: comp.lang.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: varargs -> normal parameters Message-ID: <1990Jul18.152234.4430@zoo.toronto.edu> Organization: U of Toronto Zoology References: Date: Wed, 18 Jul 90 15:22:34 GMT In article joefritz@pawl12.pawl.rpi.edu (Jochen M. Fritz) writes: >I want to write a function, that can call any other function. The called >function and its parmeters are given as parameters so that it can be called. >The clintcher is since I want to be able to call anything how can I >dereference the parameters to call the function? You cannot do this portably in C; there are an increasing number of compilers which cannot do it at all, because calling conventions differ depending on the details of the parameters. -- NFS: all the nice semantics of MSDOS, | Henry Spencer at U of Toronto Zoology and its performance and security too. | henry@zoo.toronto.edu utzoo!henry