home *** CD-ROM | disk | FTP | other *** search
/ nisttime.carsoncity.k12.mi.us / nisttime.carsoncity.k12.mi.us.tar / nisttime.carsoncity.k12.mi.us / pub / lockclock / lockerr.c < prev    next >
C/C++ Source or Header  |  1996-11-18  |  277b  |  16 lines

  1. void lockerr(msg)
  2. char *msg;
  3. {
  4. /*
  5.     this subroutine is called if the lock program finds
  6.     an error that it cannot fix.  the subroutine calls
  7.     putmsg to print the message in the log file
  8.     and then exits.
  9. */
  10. #include <stdio.h>
  11. void putmsg();
  12.     perror(msg);
  13.     putmsg(msg);
  14.     exit();
  15. }
  16.