SyntaxFix
Write A Post
Hire A Developer
Questions
The typical use is
void* ret = NULL; pthread_t tid = something; /// change it suitably if (pthread_join (tid, &ret)) handle_error(); // do something with the return value ret