1: #include "bmi.h"
2: void leave(int excode)
3: {
4: system
5: ( "Xdialog --title \"BMI-1.2.4\" --infobox \"Good bye! I hope the answer was satisfying.\" 10 49" );
6: fcloseall(); // Sort of redundant, since exit() does this, but it
7: // looks neat anyways :)
8: endwin(); // Kills the ncurses created window.
9: exit(excode);
10: }
11: