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
sanjan KS -
AJTECH0001 -
Techahead -
Josh Endemann -
Top comments (0)