I’m working on the open project gridlabd hosted at sourceforge. I was trying to call the create_thread function: static __inline int create_thread(void * (*proc)(void *), void *arg)
I just don’t understand for the life of me what in the world void * (*proc)(void *) means.
void * (*proc)(void *)is a pointer to a function which returnsvoid*and acceptsvoid*as an argument.