2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
5 Desc: special main function for code which has to use special *nix features
9 #include <sys/syscall.h>
11 extern int main(int argc
, char *argv
[]);
13 int __nixmain(int argc
, char *argv
[])
15 return syscall(SYS___arosc_nixmain
, main
, argc
, argv
);
18 int (*__main_function_ptr
)(int argc
, char *argv
[]) = __nixmain
;