1 #ifndef DOS_STDIO_H
    2 #define DOS_STDIO_H
    3 
    4 /*
    5 	dos stdio definitions
    6 
    7 	Copyright © 2002 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 
   11 #define ReadChar()            FGetC(Input())
   12 #define WriteChar(c)          FPutC(Output(),(c))
   13 #define UnReadChar(c)         UnGetC(Input(),(c))
   14 
   15 #define ReadChars(buf,num)    FRead(Input(),(buf),1,(num))
   16 #define ReadLn(buf,len)       FGets(Input(),(buf),(len))
   17 #define WriteStr(s)           FPuts(Output(),(s))
   18 #define VWritef(format,argv)  VFWritef(Output(),(format),(argv))
   19 
   20 
   21 #define BUF_LINE  0
   22 #define BUF_FULL  1
   23 #define BUF_NONE  2
   24 
   25 
   26 #define ENDSTREAMCH  -1
   27 
   28 
   29 #endif /* DOS_STDIO_H */