Question on function typedef?
Posted on 2002-03-13
I am looking at a Richard Stevens book to help with a program i am writing.
the code i was looking at contained this:
typedef int Myfunc(const char *, const struct stat *, int);
/* function type that's called for each filename */
what is this for? i have not seen this before. is it just to simplify
passing a function and args to another function?
there is an function in the code myfunc().
i can post more of the code if needed.