pointers - What does this C function declaration mean? -


schedule_accept(int fd,             int (*handler)(int, fdeventhandlerptr, acceptrequestptr),             void *data) 

apologies seeming avoid searching answer here don't know constructs in order search intelligently them. i'm interested in second parameter means?

my best guess it's int (that refers memory location) composed(?) of tuple of 3 referred types. correct? if interested in 1 of these (and i'm right in description in first place) how refer it?

int (*handler)(int, fdeventhandlerptr, acceptrequestptr) 

defines parameter named handler pointer (hence *) function, returns int (hence "outer" int) , takes 3 arguments, namely 1 int, 1 fdeventhandlerptr , 1 acceptrequestptr.


Comments

Popular posts from this blog

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

python 2.7 - Lines in my code being skipped and I am not sure why -

python - multiprocessing pool with map -