1 | #include "rxvtlib.h" |
1 | #include "rxvtlib.h" |
2 | #include "iom.h" |
2 | #include "iom.h" |
3 | |
3 | |
4 | /*----------------------------------------------------------------------*/ |
4 | /*----------------------------------------------------------------------*/ |
5 | /* main() */ |
5 | /* main() */ |
6 | /* INTPROTO */ |
|
|
7 | int |
6 | int |
8 | main(int argc, const char *const *argv) |
7 | main(int argc, const char *const *argv) |
9 | { |
8 | { |
10 | if (rxvt_init(argc, argv) == NULL) |
9 | rxvt_init_signals (); |
11 | return EXIT_FAILURE; |
|
|
12 | |
10 | |
13 | iom.loop (); |
11 | if (!rxvt_init(argc, argv)) |
|
|
12 | return EXIT_FAILURE; |
14 | |
13 | |
|
|
14 | iom.loop (); |
|
|
15 | |
15 | return EXIT_SUCCESS; |
16 | return EXIT_SUCCESS; |
16 | } |
17 | } |