mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
initial import
This commit is contained in:
16
sysdeps/stub/start.c
Normal file
16
sysdeps/stub/start.c
Normal file
@ -0,0 +1,16 @@
|
||||
/* This file should define the low-level program entry point,
|
||||
which should set up `__environ', and then do:
|
||||
__libc_init(argc, argv, __environ);
|
||||
exit(main(argc, argv, __environ));
|
||||
|
||||
This file should be prepared to be the first thing in the text section (on
|
||||
Unix systems), or otherwise appropriately special. */
|
||||
|
||||
volatile int errno;
|
||||
|
||||
#ifndef HAVE_GNU_LD
|
||||
#undef environ
|
||||
#define __environ environ
|
||||
#endif
|
||||
|
||||
char **__environ;
|
Reference in New Issue
Block a user