home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / news / cnews.tar / libc / error.c < prev    next >
C/C++ Source or Header  |  1988-12-30  |  177b  |  17 lines

  1. /*
  2.  * error - print best error message possible and exit
  3.  */
  4.  
  5. #include <stdio.h>
  6.  
  7. extern void warning();
  8.  
  9. void
  10. error(s1, s2)
  11. char *s1;
  12. char *s2;
  13. {
  14.     warning(s1, s2);
  15.     exit(1);
  16. }
  17.