Hi all,
Just before Christmas Chris Torek gave me some great advice about closures in C:
<http://groups.google.c o.nz/groups?selm=cqc l3k030vj%40news 3.newsguy.com&o utput=gplain>
It includes this declaration of a function pointer variable called fp:
void (*fp)(void *);
What does the syntax above mean? I can only digest it as void * fp,
i.e. fp is a pointer to void.
Thanks,
Adam
Just before Christmas Chris Torek gave me some great advice about closures in C:
<http://groups.google.c o.nz/groups?selm=cqc l3k030vj%40news 3.newsguy.com&o utput=gplain>
It includes this declaration of a function pointer variable called fp:
void (*fp)(void *);
What does the syntax above mean? I can only digest it as void * fp,
i.e. fp is a pointer to void.
Thanks,
Adam
Comment