DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T e

⟦140a01ea1⟧ TextFile

    Length: 1394 (0x572)
    Types: TextFile
    Names: »extra.h«

Derivation

└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
    └─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z« 
        └─⟦036c765ac⟧ 
            └─⟦this⟧ »TeX3.0/fontutil/extra.h« 

TextFile

/* Main include file for these programs.

01/20/90 Karl Berry
*/


#include <stdio.h>
#include "site.h"

/* Global constants.  */
#define true		1
#define false		0

/* Path searching.  These numbers are used both as indices and just as
   enumeration values.  */
#define TEXINPUTPATH	0
#define TFMFILEPATH	1
#define TEXFORMATPATH	2
#define TEXPOOLPATH	3
#define GFFILEPATH	4
#define PKFILEPATH	5

/* Global routines implemented as macros.  */
#define	abs(x)		((x>=0)?(x):(-(x)))
#define	chr(x)		(x)
#define eof(f)		testeof(f)
#define	fabs(x)		( (x >= 0.0) ? (x) : -(x) )
#define	Fputs(f, s)	(void) fputs(s, f)  /* fixwrites outputs this.  */
#define	odd(x)		((x) % 2)
#define	putbyte(x,f)	putc((char) ((x)&255), f)
#define read(f, b)	b = getc(f)
#define	readln(f)	{register c; while ((c=getc(f)) != '\n' && c != EOF);}
#define	round(x)	zround((double)(x))
#define	reset(f,n)	((f)?fclose(f),(f=openf(n, "r")):(f=openf(n,"r")))
#define rewrite(f,n)	f = openf(n, "w")
#define	toint(x)	((integer) (x))
#define	uexit		exit

/* C doesn't distinguish between text files and other files.  */
typedef FILE *text, *file_ptr;

/* For some initializations of constant strings.  */
typedef char *ccharpointer;

extern integer argc;

/* Routines in extra.c.  */

extern void argv ();
extern boolean eoln ();
extern FILE *openf ();
extern void printreal ();
extern boolean testof ();
extern integer zround ();