passing glob an argument

ballsystemlord doark@mail.com
Tue May 14 14:56:00 GMT 2013


Hi, I'm uncertain what an argument to glob should be.

int glob (const char *pattern, int flags, int (*errfunc) (const char
*filename, int error-code), glob_t *vector-ptr)

It takes a pointer to a function called errfunc. Now I've read the docs but
they give no mention of a function called errfunc, so I think I have to
write it myself. What should it look like? What should it do?



--
View this message in context: http://gcc.1065356.n5.nabble.com/passing-glob-an-argument-tp938145.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list