mirror of
https://github.com/PDP-10/its.git
synced 2026-01-19 01:27:05 +00:00
Binary-only compiler and library, plus documentation and include files for compiling new programs.
22 lines
667 B
C
Executable File
22 lines
667 B
C
Executable File
/* STDIO.H for DEC20 implementation */
|
|
|
|
/* actual code is in <C.LIB>C20STD.C */
|
|
|
|
# define BUFSIZ 512 /* this number is irrelevant */
|
|
# define FILE int /* the actual structure is irrelevant */
|
|
# define NULL 0 /* null file pointer for error return */
|
|
# define EOF (-1) /* returned on end of file */
|
|
|
|
# define peekchar pkchar /* rename to avoid name conflict */
|
|
# define fopen flopen /* " */
|
|
# define getc fgetc /* " */
|
|
# define getchar fgeth /* " */
|
|
# define fprintf ffprintf /* " */
|
|
# define calloc fcalloc /* " */
|
|
|
|
# define feof ceof /* direct translation */
|
|
# define putc cputc /* " */
|
|
# define fputc cputc /* " */
|
|
|
|
extern FILE *stdin, *stdout, *stderr;
|