mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-02 18:53:22 +00:00
20 lines
214 B
C
20 lines
214 B
C
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();
|
|
}
|