| www.delorie.com/djgpp/v2faq/faq16_2.html | search |
Q: I don't want my program to glob its arguments (they aren't files
at all, but they include characters like * and ?). What
should I do?
A: You have these alternatives:
__crt0_glob_function and make
it always return a NULL pointer. See the documentation of this
function in the library reference, for more details. Here's an example:
#include <crt0.h>
char **__crt0_glob_function (char *arg)
{
return 0;
}
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2001 by Eli Zaretskii | Updated Apr 2001 |