home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume19 / rkive / part01 / version.c < prev   
Encoding:
C/C++ Source or Header  |  1989-06-29  |  712 b   |  31 lines

  1. /*
  2. **
  3. ** This software is Copyright (c) 1989 by Kent Landfield.
  4. **
  5. ** Permission is hereby granted to copy, distribute or otherwise 
  6. ** use any part of this package as long as you do not try to make 
  7. ** money from it or pretend that you wrote it.  This copyright 
  8. ** notice must be maintained in any copy made.
  9. **
  10. **
  11. **  History:
  12. **    Creation: Tue Feb 21 08:52:35 CST 1989 due to necessity.
  13. **                                                               
  14. */
  15. #ifndef lint
  16. static char SID[] = "@(#)version.c    1.1 6/1/89";
  17. #endif
  18.  
  19. #include <stdio.h>
  20. #include "patchlevel.h"
  21.  
  22. extern char sccsid[];
  23.  
  24. version()
  25. {
  26.     void exit();
  27.  
  28.     (void) fprintf(stderr,"%s\nPatch level: %d\n", sccsid, PATCHLEVEL);
  29.     exit(0);
  30. }
  31.