Source code of Windows XP (NT5)
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.

56 lines
1.5 KiB

  1. /***
  2. *memory.h - declarations for buffer (memory) manipulation routines
  3. *
  4. * Copyright (c) 1985-1990, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * This include file contains the function declarations for the
  8. * buffer (memory) manipulation routines.
  9. * [System V]
  10. *
  11. ****/
  12. #if defined(_DLL) && !defined(_MT)
  13. #error Cannot define _DLL without _MT
  14. #endif
  15. #ifdef _MT
  16. #define _FAR_ _far
  17. #else
  18. #define _FAR_
  19. #endif
  20. #ifndef _SIZE_T_DEFINED
  21. typedef unsigned int size_t;
  22. #define _SIZE_T_DEFINED
  23. #endif
  24. /* function prototypes */
  25. void _FAR_ * _FAR_ _cdecl memccpy(void _FAR_ *, const void _FAR_ *,
  26. int, unsigned int);
  27. void _FAR_ * _FAR_ _cdecl memchr(const void _FAR_ *, int, size_t);
  28. int _FAR_ _cdecl memcmp(const void _FAR_ *, const void _FAR_ *,
  29. size_t);
  30. void _FAR_ * _FAR_ _cdecl memcpy(void _FAR_ *, const void _FAR_ *,
  31. size_t);
  32. int _FAR_ _cdecl memicmp(const void _FAR_ *, const void _FAR_ *,
  33. unsigned int);
  34. void _FAR_ * _FAR_ _cdecl memset(void _FAR_ *, int, size_t);
  35. void _FAR_ _cdecl movedata(unsigned int, unsigned int, unsigned int,
  36. unsigned int, unsigned int);
  37. /* model independent function prototypes */
  38. void _far * _far _cdecl _fmemccpy(void _far *, const void _far *,
  39. int, unsigned int);
  40. void _far * _far _cdecl _fmemchr(const void _far *, int, size_t);
  41. int _far _cdecl _fmemcmp(const void _far *, const void _far *,
  42. size_t);
  43. void _far * _far _cdecl _fmemcpy(void _far *, const void _far *,
  44. size_t);
  45. int _far _cdecl _fmemicmp(const void _far *, const void _far *,
  46. unsigned int);
  47. void _far * _far _cdecl _fmemset(void _far *, int, size_t);