home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c082_144 / 1.ddi / CLIBSRC.ZIP / GEXIT.C < prev    next >
Encoding:
C/C++ Source or Header  |  1992-06-10  |  961 b   |  36 lines

  1. /*-----------------------------------------------------------------------*
  2.  * filename - gexit.c
  3.  *
  4.  * function(s)
  5.  *   _graphexit - abort program (for graphics library)
  6.  *-----------------------------------------------------------------------*/
  7.  
  8. /*
  9.  *      C/C++ Run Time Library - Version 5.0
  10.  *
  11.  *      Copyright (c) 1987, 1992 by Borland International
  12.  *      All Rights Reserved.
  13.  *
  14.  */
  15.  
  16.  
  17. #include <graphics.h>
  18. #include <process.h>
  19.  
  20. /*-----------------------------------------------------------------------*
  21.  
  22. Name            _graphexit - abort program (for graphics library)
  23.  
  24. Usage           void far _graphexit(int status);
  25.  
  26. Prototype in    graphics.h
  27.  
  28. Description     This is the default version of "_graphexit". It merely
  29.                 calls "exit" with the specified exit status.
  30.  
  31. *------------------------------------------------------------------------*/
  32. void far _graphexit(int status)
  33. {
  34.         exit(status);
  35. }
  36.