Node:Disable globbing,
Next:Special chars,
Previous:Filename globbing,
Up:Command line
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; }