--- a/ncurses.c +++ b/ncurses.c @@ -87,5 +87,6 @@ endwin (); printf ("\n"); - return 0; + + return EXIT_SUCCESS; }