The Witchcraft Compiler Collection
WCC
 All Data Structures Files Functions Variables Typedefs Macros
wshmain.c
Go to the documentation of this file.
1 
32 #include <libwitch/wsh.h>
33 
38 
42 int main(int argc, char **argv, char **envp)
43 {
44  wsh_t *wsh1;
45 
46  wsh1 = wsh_init();
47  wsh_getopt(wsh1, argc, argv);
48  wsh_loadlibs();
49  reload_elfs();
50  wsh_run();
51 
52  return 42;
53 }
54 
int wsh_init(void)
Definition: wsh.c:4364
Definition: wsh.h:532
int wsh_run(void)
Definition: wsh.c:4475
int wsh_getopt(wsh_t *wsh1, int argc, char **argv)
Definition: wsh.c:4629
int wsh_loadlibs(void)
Definition: wsh.c:4608
wsh_t * wsh
Definition: wshmain.c:37
int reload_elfs(void)
Definition: wsh.c:1441
int main(int argc, char **argv, char **envp)
Definition: wshmain.c:42