passing glob an argument

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux