www.delorie.com/djgpp/doc/libc-2.01/libc_106.html   search  
Go to the first, previous, next, last section, table of contents.


__crt0_glob_function

Syntax

#include <crt0.h>

char **__crt0_glob_function(char *_argument);

Description

If the application wishes to provide a wildcard expansion function, it should define a __crt0_glob_function function. It should return a list of the expanded values, or 0 if no expansion will occur. The startup code will free the returned pointer if it is nonzero.

If no expander function is provided, wildcards will be expanded in the POSIX.1 style by the default __crt0_glob_function from the C library. To disable expansion, provide a __crt0_glob_function that always returns 0.


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997