NeoMutt  2022-04-29-215-gc12b98
Teaching an old dog new tricks
exit.c File Reference

Leave the program NOW. More...

#include "config.h"
#include <stdlib.h>
#include "exit.h"
+ Include dependency graph for exit.c:

Go to the source code of this file.


void mutt_exit (int code)
 Leave NeoMutt NOW. More...

Detailed Description

Leave the program NOW.

  • Richard Russon

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see

Definition in file exit.c.

Function Documentation

◆ mutt_exit()

void mutt_exit ( int  code)

Leave NeoMutt NOW.

Some library routines want to exit immediately on error. By having this in the library, mutt_exit() can be overridden.

See also

Definition at line 41 of file exit.c.

43 exit(code);