Back to index

glibc  2.9
Functions | Variables
init-first.c File Reference
#include <unistd.h>
#include <sys/types.h>

Go to the source code of this file.

Functions

void __libc_init (int, char **, char **)
void __libc_init_first (int argc, char *arg0,...)

Variables

int __libc_multiple_libcs attribute_hidden = 1

Function Documentation

void __libc_init ( int  ,
char **  ,
char **   
)

Here is the caller graph for this function:

void __libc_init_first ( int  argc,
char *  arg0,
  ... 
)

Definition at line 48 of file init-first.c.

{
  char **argv = &arg0, **envp = &argv[argc + 1];

  __environ = envp;
  __libc_init (argc, argv, envp);

#ifdef USE_NONOPTION_FLAGS
  /* This is a hack to make the special getopt in GNU libc working.  */
  __getopt_clean_environment (envp);
#endif
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

Definition at line 25 of file init-first.c.