4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 03:19:54 +08:00

20 lines
214 B
C
Raw Normal View History

2000-02-17 19:39:52 +00:00
extern int main(int argc, char **argv);
extern char edata;
extern char end;
extern char stack;
_start()
{
char *p;
p = &edata + 1;
while (p < &end)
{
*p++ = 0;
}
main(0, 0);
_exit();
}