home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1992 September / Simtel20_Sept92.cdr / msdos / turbo_c / tc130.arc / ERROR.DOC < prev    next >
Text File  |  1987-08-20  |  568b  |  39 lines

  1.  
  2.  
  3.         NAME
  4.                 error -- report a fatal error and exit
  5.  
  6.         SYNOPSIS
  7.                 void error(string);
  8.                 char *string;   error message to report
  9.  
  10.  
  11.         DESCRIPTION
  12.         This function sends the specified error message to stderr, and
  13.         then exits through this library's aabort() function, sounding
  14.         the console bell on its way out.
  15.  
  16.  
  17.  
  18.  
  19.         EXAMPLE
  20.              error("Invalid syntax");
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.         This function is found in SMTCx.LIB for the Turbo-C Compiler.
  39.