|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T w
Length: 1519 (0x5ef) Types: TextFile Names: »web2c.h«
└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89 └─⟦this⟧ »./tex82/mfware/web2c.h« └─⟦this⟧ »./tex82/texware/web2c.h« └─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« └─⟦ca79c7339⟧ └─⟦this⟧ »DVIware/laser-setters/dvi-to-ps/TeXPS/pltotf/web2c.h«
/* * Main include file for tangle etc. in C * * Tim Morgan 2/11/88 */ #include <stdio.h> #include "site.h" /* * Global routines implemented as macros, plus some type coercion stuff. */ #define toint(x) ((integer) (x)) #define odd(x) ((x) % 2) #define putbyte(x,f) putc(((x)&255), f) #define round(x) zround((double)(x)) #define incr(x) ++x #define decr(x) --x #define trunc(x) ( (integer) (x) ) #define readln(f) {register c; while ((c=getc(f)) != '\n' && c != EOF);} #define read(f, b) b = getc(f) #define input3ints(a,b,c) zinput_3ints(&a, &b, &c) #define zfseek(f,n,w) (void) fseek(f, (long) n, (int) w) #define eof(f) test_eof(f) #define abs(x) ((x>=0)?(x):(-(x))) #define fabs(x) ((x>=0.0)?(x):(-(x))) #define Fputs(stream, s) (void) fputs(s, stream) #define rewrite(f,n) f = openf(n+1, "w") #define reset(f,n) f = openf(n+1, "r") #define flush(f) (void) fflush(f) #define true 1 #define false 0 #define chr(x) (x) #define ord(x) (x) #define vgetc(f) (void) getc(f) #define uexit(x) exit(x) FILE *openf(); /* * Global Types */ typedef FILE *text, *file_ptr; typedef char *ccharpointer; /* * Global Data and Datastructures */ extern integer argc; extern integer zround(); extern integer inputint(); /* * One global routine: test_eof * Return true if we're at the end of the file, else false. */ test_eof(file) FILE *file; { int ch; if (feof(file)) return(true); if ((ch = getc(file)) == EOF) return(true); (void) ungetc(ch,file); /* yuck */ return(false); }