on the fringe of C syntax/semantics

roy at bonzo.sts.COM roy at bonzo.sts.COM
Fri Oct 6 05:51:33 AEST 1989


First off, I'd like to thank everyone for the responses.  At least,
now I have it straight that va_arg is actually a macro, which is the
only thing that makes sense.

The 2nd question still holds though.  It looks like the 'typedef'
method may be the only way.  I've tried (as suggested by
gwyn at smoke.BRL.MIL) '((void (*)())' and '(void) (*)()' and they didn't
work either.  I'm not sure if this is a quirk in the Sun C compiler or
what.


==================================================================
Roy Bixler                   | UUCP: ...!{claris,sun}!sts!roy    |
Semiconductor Test Solutions | Internet: roy at bonzo.sts.COM       |
4101 Burton Dr.              | phones: (408) 727-2885 x132 (work)|
Santa Clara, CA  95054	     |         (408) 289-1035      (home)|
==================================================================



More information about the Comp.lang.c mailing list