Multiple arguments to function called by pthread_create()? December 16, 2022 by Tarik Because you say struct arg_struct *args = (struct arg_struct *)args; instead of struct arg_struct *args = arguments;