home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c065 / 1.ddi / CLIB1.ZIP / GEXIT.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-07  |  1.4 KB  |  38 lines

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