File: dmain.h

package info (click to toggle)
pmccabe 2.2-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 452 kB
  • ctags: 447
  • sloc: ansic: 2,606; cpp: 1,080; sh: 343; makefile: 92
file content (14 lines) | stat: -rw-r--r-- 450 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Copyright (c) 2002 Hewlett-Packard under GPL version 2 or later */
/* $Id: dmain.h,v 1.8 2001/01/26 23:00:36 bame Exp $ */
#define EOINPUT 999
#define SIZE (1024 * 8)
extern short Pipe[SIZE];
extern short *Piperead;
extern short *Pipewrite;
extern short *Pipeend;

#define PUTCHAR(c)	{if (Pipewrite < Pipeend) *Pipewrite++ = (c);}
#define PUTS(s)		{char *a = s; while (*a != '\0') PUTCHAR(*a++);}

extern FILE *Input;
extern char Inputfile[1030];