www.delorie.com/djgpp/doc/libc/libc_121.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

__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.

Portability

ANSI/ISO C No
POSIX No


  webmaster   donations   bookstore     delorie software   privacy  
  Copyright 2004   by DJ Delorie     Updated Apr 2004