home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / OTL-MC6.DMS / in.adf / incl.lha / INCLUDE / clib / alib_stdio_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-29  |  875 b   |  42 lines

  1. #ifndef  CLIB_ALIB_STDIO_PROTOS_H
  2. #define  CLIB_ALIB_STDIO_PROTOS_H
  3.  
  4. /*
  5. **    $VER: alib_stdio_protos.h 39.1 (25.8.92)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17.  
  18. #ifdef __cplusplus
  19. #define CLIBCPLUSON
  20. #pragma -
  21. #endif
  22.  
  23. /* stdio functions that duplicate those in a typical C library */
  24.  
  25. LONG printf( STRPTR fmt, ... );
  26. LONG sprintf( STRPTR buffer, STRPTR fmt, ... );
  27. LONG fclose( long stream );
  28. LONG fgetc( long stream );
  29. LONG fprintf( long stream, STRPTR fmt, ... );
  30. LONG fputc( long c, long stream );
  31. LONG fputs( UBYTE *s, long stream );
  32. LONG getchar( void );
  33. LONG putchar( long c );
  34. LONG puts( BYTE *s );
  35.  
  36. #ifdef CLIBCPLUSON
  37. #undef CLIBCPLUSON
  38. #pragma +
  39. #endif
  40.  
  41. #endif     /* CLIB_ALIB_STDIO_PROTOS_H */
  42.