I am looking at some late 80's C code. I have the following definition.
void (*_flush())(){ /* body ommitted */ }
I believe this is a function, _flush
, with void
as its argument list and returns a function pointer that returns void
and has void
as its argument list.
The equivalent in two parts:
typedef void (*funcptr)(void);
functptr flush(void){ /* body ommitted */ }
Do I understand the old notation correctly?