essence-os/desktop/crt1.c

13 lines
268 B
C

#include <essence.h>
int main(int argc, char **argv, char **envp);
int __libc_start_main(int (*main)(int, char **, char **), int argc, char **argv);
void _start() {
int argc;
char **argv;
EsPOSIXInitialise(&argc, &argv);
__libc_start_main(main, argc, argv);
}