Passing address of an integer variable to pthread_exit

78 views Asked by At

The pthread_exit function should take a void pointer as input. I'm wondering how come it's possible to pass the address of an integer variable (e.g. pthread_exit(&ret1) here) without performing a cast conversion.

0

There are 0 answers