1*a7c91847Schristos /* exit() function. 2*a7c91847Schristos Copyright (C) 1995, 2001 Free Software Foundation, Inc. 3*a7c91847Schristos 4*a7c91847Schristos This program is free software; you can redistribute it and/or modify 5*a7c91847Schristos it under the terms of the GNU General Public License as published by 6*a7c91847Schristos the Free Software Foundation; either version 2, or (at your option) 7*a7c91847Schristos any later version. 8*a7c91847Schristos 9*a7c91847Schristos This program is distributed in the hope that it will be useful, 10*a7c91847Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 11*a7c91847Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12*a7c91847Schristos GNU General Public License for more details. 13*a7c91847Schristos 14*a7c91847Schristos You should have received a copy of the GNU General Public License 15*a7c91847Schristos along with this program; if not, write to the Free Software Foundation, 16*a7c91847Schristos Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ 17*a7c91847Schristos 18*a7c91847Schristos #ifndef _EXIT_H 19*a7c91847Schristos #define _EXIT_H 20*a7c91847Schristos 21*a7c91847Schristos /* Get exit() declaration. */ 22*a7c91847Schristos #include <stdlib.h> 23*a7c91847Schristos 24*a7c91847Schristos /* Some systems do not define EXIT_*, even with STDC_HEADERS. */ 25*a7c91847Schristos #ifndef EXIT_SUCCESS 26*a7c91847Schristos # define EXIT_SUCCESS 0 27*a7c91847Schristos #endif 28*a7c91847Schristos #ifndef EXIT_FAILURE 29*a7c91847Schristos # define EXIT_FAILURE 1 30*a7c91847Schristos #endif 31*a7c91847Schristos 32*a7c91847Schristos #endif /* _EXIT_H */ 33