ANSI C and function prototypes

Chris Gray cg at myrias.UUCP
Fri Feb 14 04:05:13 AEST 1986


-------
Input C program:
-------
dispatcher(int code, void (*disp_func)());
-------
Output from compiler with symbol table dump debugging flag turned on:
-------
dispatcher: function - function (signed int, pointer to function () returning void) returning signed int
-------
(Sorry for the long output line - you should see them for some of the things
I tested it with!)

As for what this means under the draft ANSI spec, well.......



More information about the Comp.lang.c mailing list