home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 9 / 09.iso / l / l200 / 6.ddi / LIB / BFINIT.C < prev    next >
Encoding:
C/C++ Source or Header  |  1986-08-21  |  449 b   |  29 lines

  1. /*    bfinit - Basic File Initialization
  2.  
  3.     Copyright (c) 1985 by JMI Software Consultants, Inc.
  4. */
  5. #include "acom.h"
  6. #include "rrd.h"
  7.  
  8. VOID bfinit()
  9.     {
  10.     IMPORT RR rdc;
  11.  
  12.     rdc.rr_erase = '\b';
  13.     rdc.rr_kill = '\027';
  14.     rdc.rr_intr = '\3';
  15.     rdc.rr_quit = '\3';
  16.     rdc.rr_eot = '\032';
  17.     SEG(-1.0);
  18.     }
  19.  
  20. /*    bexit(n) will return control to the system.
  21.     If n is 0 the return is successful.
  22.  */
  23.  
  24. VOID bexit(n)
  25.     INT n;
  26.     {
  27.     exit(!n);
  28.     }
  29.