initial import
[glibc.git] / sysdeps / stub / start.c
blobb8bb04bbb443f14f5327ca550c7ff32073ab4df6
1 /* This file should define the low-level program entry point,
2 which should set up `__environ', and then do:
3 __libc_init(argc, argv, __environ);
4 exit(main(argc, argv, __environ));
6 This file should be prepared to be the first thing in the text section (on
7 Unix systems), or otherwise appropriately special. */
9 volatile int errno;
11 #ifndef HAVE_GNU_LD
12 #undef environ
13 #define __environ environ
14 #endif
16 char **__environ;