home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 1 / 1696 / bailout.c next >
Encoding:
C/C++ Source or Header  |  1990-12-28  |  711 b   |  17 lines

  1. static char rcsid[] = "@(#)$Id: bailout.c,v 2.0  07/18/90  jbc $";
  2. /***************************************************************************/
  3. /* Copyright (c) 1990  James B. Cummings, Jr.                              */
  4. /*                                                                         */
  5. /*  This program is offered in the Public Domain and is freely available   */
  6. /*    as long as this notice is kept intact with each module.              */
  7. /***************************************************************************/
  8. #include "header.h"
  9.  
  10. bailout(message, status)    /* display error message and exit */
  11. int status;
  12. char *message;
  13. {
  14.     fprintf(stderr, "autologout: %s\n", message);
  15.     exit(status);
  16. }
  17.