home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c040 / 6.ddi / INCLUDE / IO.H$ / IO.bin
Encoding:
Text File  |  1989-11-08  |  1.5 KB  |  48 lines

  1. /***
  2. *io.h - declarations for low-level file handling and I/O functions
  3. *
  4. *    Copyright (c) 1985-1990, Microsoft Corporation.  All rights reserved.
  5. *
  6. *Purpose:
  7. *    This file contains the function declarations for the low-level
  8. *    file handling and I/O functions.
  9. *
  10. ****/
  11.  
  12. #if defined(_DLL) && !defined(_MT)
  13. #error Cannot define _DLL without _MT
  14. #endif
  15.  
  16. #ifdef _MT
  17. #define _FAR_ _far
  18. #else
  19. #define _FAR_
  20. #endif
  21.  
  22. /* function prototypes */
  23.  
  24. int _FAR_ _cdecl access(const char _FAR_ *, int);
  25. int _FAR_ _cdecl chmod(const char _FAR_ *, int);
  26. int _FAR_ _cdecl chsize(int, long);
  27. int _FAR_ _cdecl close(int);
  28. int _FAR_ _cdecl creat(const char _FAR_ *, int);
  29. int _FAR_ _cdecl dup(int);
  30. int _FAR_ _cdecl dup2(int, int);
  31. int _FAR_ _cdecl eof(int);
  32. long _FAR_ _cdecl filelength(int);
  33. int _FAR_ _cdecl isatty(int);
  34. int _FAR_ _cdecl locking(int, int, long);
  35. long _FAR_ _cdecl lseek(int, long, int);
  36. char _FAR_ * _FAR_ _cdecl mktemp(char _FAR_ *);
  37. int _FAR_ _cdecl open(const char _FAR_ *, int, ...);
  38. int _FAR_ _cdecl _pipe(int _FAR_ *, unsigned int, int);
  39. int _FAR_ _cdecl read(int, void _FAR_ *, unsigned int);
  40. int _FAR_ _cdecl remove(const char _FAR_ *);
  41. int _FAR_ _cdecl rename(const char _FAR_ *, const char _FAR_ *);
  42. int _FAR_ _cdecl setmode(int, int);
  43. int _FAR_ _cdecl sopen(const char _FAR_ *, int, int, ...);
  44. long _FAR_ _cdecl tell(int);
  45. int _FAR_ _cdecl umask(int);
  46. int _FAR_ _cdecl unlink(const char _FAR_ *);
  47. int _FAR_ _cdecl write(int, const void _FAR_ *, unsigned int);
  48.