4 ms·
Cool, but it doesn't handle the last example: void (*signal(int, void (*fp)(int)))(int) ...claims there's a syntax error, and there might be, but I don't kn
by binarycrusader 14y ago
Cool, but it doesn't handle the last example:
void (*signal(int, void (*fp)(int)))(int)
...claims there's a syntax error, and there might be, but I don't know off-hand.
- cnvogel 14y agoIt's confused by the parameter name fp. cdecl> explain void (*signal(int, void (*)(int)))(int) ; declare signal as function (int, pointer to function (int) returning void) returning pointer to function (int) returning void
- malkia 14y agoThis works: void (*signal(int, void (*)(int)))(int)
- deleted 14y ago[deleted]