It’s the parameter in pthread_create(). I think each part means:
-
void *: The return value is a void pointer. -
(*): It’s a pointer to a function. -
(void *): It takes an untyped pointer as a parameter.
Is that correct?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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: