This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Calling function with va_list
- From: Jan Ringoš <tringi at mx-3 dot cz>
- To: <gcc at gcc dot gnu dot org>
- Date: Thu, 25 Nov 2004 03:04:51 +0100
- Subject: Calling function with va_list
- Organization: n.v.t. MX-3
Hello,
may I ask if it is possible to call any function with prepared va_list?
I mean how can I construct call when I have my own constructed va_list, pointer
in form "int (*func)()" to function e.g. "int func(int a, int b, int c)".
Maybe "__builtin_apply" could solve this problem, but I am unable to find any
information about how to build arguments to this function (something similar
that __builtin_apply_args returns but in my own).
Thanks for any ideas?
PS: How can I register to get all e-mails from this maillist? I am not even sure
if this is maillist :)
---
Jan Ringoš, Tringi@Mx-3.cz
http://Tringi.Mx-3.cz