

/*
** stdio.h -- header for resident STDIO/CALL, and VM interfaces
*/
#define stdin 0
#define stdout 1
#define stderr 2
#define stdport 3
#define stdlist 4
#define CCEOM 45062
#define ERR -2
#define EOF -1
#define YES 1
#define NO 0
#define NULL 0
#define CR 13
#define LF 10
#asm
; STD I/O ROUTINES
	EXTRN	GETC   
	EXTRN	GETCHAR
	EXTRN	FGETC  
	EXTRN	FGETS  
	EXTRN	PUTC   
	EXTRN	PUTCHAR
	EXTRN	FPUTC  
	EXTRN	FPUTS  
	EXTRN	PUTS   
	EXTRN	FOPEN  
	EXTRN	FCLOSE 
	EXTRN	GETARG 
; STD I/O ROUTINES MATCHING VM ROUTINES
	EXTRN	FFLUSH 
	EXTRN	ABORT  
	EXTRN	EXIT   
	EXTRN	UNLINK 
; ARITHMETIC & LOGICAL ROUTINES
	EXTRN	CCARGC 
	EXTRN	CCSXT  
	EXTRN	CCDSGI 
	EXTRN	CCDDGI 
	EXTRN	CCINCI 
	EXTRN	CCDECI 
	EXTRN	CCGINT 
	EXTRN	CCPIDDPD
	EXTRN	CCPDPI 
	EXTRN	CCDSGC 
	EXTRN	CCDDGC 
	EXTRN	CCINCC 
	EXTRN	CCDECC 
	EXTRN	CCGCHAR
	EXTRN	CCPCDDPD
	EXTRN	CCPDPC 
	EXTRN	CCPCHAR
	EXTRN	CCPINT 
	EXTRN	CCOR   
	EXTRN	CCXOR  
	EXTRN	CCAND  
	EXTRN	CCEQ   
	EXTRN	CCNE   
	EXTRN	CCGT   
	EXTRN	CCLE   
	EXTRN	CCGE   
	EXTRN	CCLT   
	EXTRN	CCCMP  
	EXTRN	CCUGE  
	EXTRN	CCULT  
	EXTRN	CCUGT  
	EXTRN	CCULE  
	EXTRN	CCUCMP 
	EXTRN	CCASR  
	EXTRN	CCASL  
	EXTRN	CCSUB  
	EXTRN	CCNEG  
	EXTRN	CCCOM  
	EXTRN	CCMULT 
	EXTRN	CCDIV  
	EXTRN	CCLNEG 
	EXTRN	CCSWITCH
; VM ROUTIN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