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


__crt0_setup_arguments

Syntax

#include <crt0.h>

void   __crt0_setup_arguments(void);

Description

This function, provided by libc.a, does all the work required to provide the two arguments passed to main() (usually argc and argv). If main() does not use these arguments, the programmer can reduce the size of the program image by providing a version of this function that does nothing.

Note that since the default __crt0_setup_arguments_function will not expand wildcards inside quotes (" or '), but you can quote a part of the argument that doesn't include wildcards and still have them expanded. This is so you could use wildcard expansion with filenames which have embedded whitespace (on LFN filesystems).

See section __crt0_load_environment_file.


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

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