actually, _start
is real magic word.
nomain.c:
#include <stdio.h>
extern void _exit(register int);
int _start(){
printf("Hello world!\n");
_exit(0);
}
$ gcc -o nomain nomain.c -nostartfiles
$ ./nomain
Hello world!
actually, _start
is real magic word.
nomain.c:
#include <stdio.h>
extern void _exit(register int);
int _start(){
printf("Hello world!\n");
_exit(0);
}
$ gcc -o nomain nomain.c -nostartfiles
$ ./nomain
Hello world!
For further actions, you may consider blocking this person and/or reporting abuse
Quovadis -
Eda -
Per Starke -
Jaimin Bariya -
Top comments (0)