Ends program execution without calling atexit( ) functions or signal handlers #include <stdlib.h> void _Exit ( int status ); The _Exit( ) function terminates the program normally, but without calling any cleanup functions that you have installed using atexit( ), or signal handlers you have installed using signal( ). Exit( ) returns a status value to the operating system in the same way as the exit( ) function does. Whether _Exit( ) flushes the program's file buffers or removes its temporary files may vary from one implementation to another. Exampleint main (int argc, char *argv[ ]) { if (argc < 3) { fprintf(stderr, "Missing required arguments.\n"); _Exit(-1); } /* ... */ } See Alsoabort( ), exit( ), atexit( ), raise( ) |