Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.3 KiB

  1. /***
  2. *io.h - declarations for low-level file handling and I/O functions
  3. *
  4. * Copyright (c) 1985-1988, 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. #ifndef NO_EXT_KEYS /* extensions enabled */
  12. #define _CDECL cdecl
  13. #else /* extensions not enabled */
  14. #define _CDECL
  15. #endif /* NO_EXT_KEYS */
  16. /* function prototypes */
  17. int _CDECL access(char *, int);
  18. int _CDECL chmod(char *, int);
  19. int _CDECL chsize(int, long);
  20. int _CDECL close(int);
  21. int _CDECL creat(char *, int);
  22. int _CDECL dup(int);
  23. int _CDECL dup2(int, int);
  24. int _CDECL eof(int);
  25. long _CDECL filelength(int);
  26. int _CDECL isatty(int);
  27. int _CDECL locking(int, int, long);
  28. long _CDECL lseek(int, long, int);
  29. char * _CDECL mktemp(char *);
  30. int _CDECL open(char *, int, ...);
  31. int _CDECL read(int, char *, unsigned int);
  32. int _CDECL remove(const char *);
  33. int _CDECL rename(const char *, const char *);
  34. int _CDECL setmode(int, int);
  35. int _CDECL sopen(char *, int, int, ...);
  36. long _CDECL tell(int);
  37. int _CDECL umask(int);
  38. int _CDECL unlink(const char *);
  39. int _CDECL write(int, char *, unsigned int);