#ifndef STDLIB_H #define STDLIB_H 1 /* * STDLIB.H Number conversion, storage allocation, and similar tasks. * * This STDLIB.H provides the declarations which, with an ANSI compiler, would * be found in the system library of the same name. The DECUS C distribution * predates ANSI and hence lacks these items. * * Copyright (c) 1991 Shal Farley * Cheshire Engineering Corporation * 650 Sierra Madre Villa Avenue, Suite 201 * Pasadena, California 91107 * (818) 351-5493 * (818) 351-8645 FAX * shal@alumni.caltech.edu * * This software may be used and distributed for any purpose without license or * royalty payments so long as the above copyright notice is preserved. If you * have any comments, bug fixes, improvements, or new programs based upon this * software I'd like to hear from you. * */ extern long atol(); #ifdef decus #define exit exits #ifdef rsx #define EXIT_SUCCESS 1 /* Normal exit */ #define EXIT_WARNING 0 /* Warning error */ #define EXIT_ERROR 2 /* Error */ #define EXIT_FAILURE 2 /* The ANSI name for it */ #define EXIT_FATAL 4 /* Severe error */ #endif #ifdef rt11 #define EXIT_SUCCESS 1 /* Normal exit */ #define EXIT_WARNING 2 /* Warning error */ #define EXIT_ERROR 4 /* Error */ #define EXIT_FAILURE 4 /* The ANSI name for it */ #define EXIT_FATAL 8 /* Severe error */ #endif #endif /*decus */ #endif /* STDLIB_H */