1 #ifndef CLIB_ALIB_STDIO_PROTOS_H
    2 #define CLIB_ALIB_STDIO_PROTOS_H
    3 
    4 /*
    5 	amiga.lib stdio C prototypes
    6 
    7 	Copyright © 2002 The MorphOS Development Team, All Rights Reserved.
    8 */
    9 
   10 
   11 #ifdef __PPC__
   12 
   13 #warning No stdio funcs in MorphOS libabox.a, use libnix functions instead...
   14 
   15 #else
   16 
   17 #ifndef  EXEC_TYPES_H
   18 # include <exec/types.h>
   19 #endif
   20 
   21 
   22 #ifdef __cplusplus
   23 extern "C" {
   24 #endif /* __cplusplus */
   25 
   26 LONG printf( CONST_STRPTR fmt, ... );
   27 LONG sprintf( CONST_STRPTR buffer, CONST_STRPTR fmt, ... );
   28 LONG fclose( LONG stream );
   29 LONG fgetc( LONG stream );
   30 LONG fprintf( LONG stream, CONST_STRPTR fmt, ... );
   31 LONG fputc( LONG c, LONG stream );
   32 LONG fputs( CONST_STRPTR s, LONG stream );
   33 LONG getchar( VOID );
   34 LONG putchar( ULONG c );
   35 LONG puts( CONST_STRPTR s );
   36 
   37 #ifdef __cplusplus
   38 }
   39 #endif /* __cplusplus */
   40 
   41 
   42 #endif /* __PPC__ */
   43 
   44 #endif /* CLIB_ALIB_STDIO_PROTOS_H */