home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / Share / Editores / Perl5 / perl / lib / site / Tk / pTk / LangIO.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-08-10  |  1.0 KB  |  51 lines

  1. #ifdef NEED_REAL_STDIO
  2. #include <stdio.h>
  3. #else
  4. #if !defined(_STDIO_H) && \
  5.     !defined(_STDIO_H_) && \
  6.     !defined(__STDIO_H) && \
  7.     !defined(__STDIO_H__) && \
  8.     !defined(_STDIO_INCLUDED) && \
  9.     !defined(__STDIO_LOADED) && \
  10.     !defined(_INC_STDIO) && \
  11.     !defined(FILE) 
  12. #define _STDIO_H
  13. #define _STDIO_H_
  14. #define __STDIO_H
  15. #define __STDIO_H__
  16. #define _STDIO_INCLUDED
  17. #define __STDIO_LOADED
  18. #define _INC_STDIO
  19. struct _FILE;
  20. #define FILE struct _FILE
  21. EXTERN int printf  _ANSI_ARGS_((CONST char *,...));
  22. EXTERN int sscanf  _ANSI_ARGS_((CONST char *, CONST char *,...));
  23. #ifdef SPRINTF_RETURN_CHAR
  24. EXTERN char *sprintf _ANSI_ARGS_((char *, CONST char *,...));
  25. #else
  26. EXTERN int sprintf _ANSI_ARGS_((char *, CONST char *,...));
  27. #endif
  28. #endif
  29. #endif /* NEED_REAL_STDIO */
  30.  
  31. #ifndef EOF
  32. #define EOF (-1)
  33. #endif
  34.  
  35. /* This is to catch case with no stdio */
  36. #ifndef BUFSIZ
  37. #define BUFSIZ 1024
  38. #endif
  39.  
  40. #ifndef SEEK_SET
  41. #define SEEK_SET 0
  42. #endif
  43.  
  44. #ifndef SEEK_CUR
  45. #define SEEK_CUR 1
  46. #endif
  47.  
  48. #ifndef SEEK_END
  49. #define SEEK_END 2
  50. #endif
  51.