-- stdio.mesa
-- last edited by Suzuki:  May 1, 1981  8:56 AM   

DIRECTORY
  StreamDefs;

stdio: DEFINITIONS = {

FILE: TYPE = StreamDefs.StreamHandle;

stderr: FILE;
stdin: FILE;
stdout: FILE;

atof: PROC[STRING] RETURNS [REAL];
atoi: PROC[STRING] RETURNS[INTEGER];

putc: PROC[CHARACTER, FILE];
getch: PROC[FILE] RETURNS[CHARACTER];
extRead: PROC[FILE];
extWrite: PROC[FILE];

fopen: PROC[STRING, STRING] RETURNS [FILE];
fclose: PROC[FILE];
fflush: PROC[FILE];
fgets: PROC[STRING, CARDINAL, FILE] RETURNS [STRING];

exit: PROC[INTEGER];

}.