File: eof.c

package info (click to toggle)
viewmol 2.4.1-13
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 7,212 kB
  • ctags: 2,054
  • sloc: ansic: 30,727; python: 1,849; sh: 921; awk: 433; makefile: 205
file content (34 lines) | stat: -rw-r--r-- 1,211 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*******************************************************************************
*                                                                              *
*                                   Viewmol                                    *
*                                                                              *
*                                  E O F . C                                   *
*                                                                              *
*                 Copyright (c) Joerg-R. Hill, October 2003                    *
*                                                                              *
********************************************************************************
*
* $Id: eof.c,v 1.4 2003/11/07 11:01:34 jrh Exp $
* $Log: eof.c,v $
* Revision 1.4  2003/11/07 11:01:34  jrh
* Release 2.4
*
* Revision 1.3  2000/12/10 15:06:50  jrh
* Release 2.3
*
* Revision 1.2  1999/05/24 01:25:22  jrh
* Release 2.2.1
*
* Revision 1.1  1999/02/07 21:48:36  jrh
* Initial revision
*
*/
#include<stdio.h>
#include<stdlib.h>

void eof(char *type, char *file, int terminate)
{
  printf("$error %s %d %s\n", type, terminate, file);
  printf("$end\n");
  exit(0);
}