It's the parameter in pthread_create(). I think each part means:
pthread_create()
void *: The return value is a void pointer.
void *
(*): It's a pointer to a function.
(*)
(void *): It takes an untyped pointer as a parameter.
(void *)
Is that correct?
Yes, it is the signature of a nameless function pointer that takes and returns void *.
If it had a name (as in a variable) it would be:
void *(*myFuncName)(void*)
1.4m articles
1.4m replys
5 comments
57.0k users