home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / modhead1.zip / MEMORY.H < prev    next >
C/C++ Source or Header  |  1995-09-17  |  1KB  |  50 lines

  1. /*
  2.  *   memory.h -- extra-ANSI 
  3.  *
  4.  *   Functions for moving and comparing portions of memory.
  5.  *
  6.  *           Copyright (c) 1990-1991, MetaWare Incorporated
  7.  */
  8.  
  9. #ifndef _MEMORY_H
  10. #define _MEMORY_H
  11.  
  12. #ifdef __CPLUSPLUS__
  13. extern "C" {
  14. #endif
  15.  
  16. extern void * _memccpy(void *,void *,int ,unsigned int );
  17. extern int _memicmp(const void *,const void *,unsigned int );
  18. extern void _movedata(unsigned int ,unsigned int ,unsigned int ,unsigned int ,unsigned int );
  19.  
  20. #include <stddef.h>  /* [size_t] */
  21.  
  22. #if (__HIGHC__ && _IBM370 && _UNIXLIB)    /* Agree with AIX/ESA 370. */
  23.     extern void * memccpy(void *,const void *,int ,size_t);
  24. #endif
  25.  
  26. #include <_na.h>
  27. #if _NA_NAMES
  28.     #if !(_IBM370 && _UNIXLIB)
  29.     _NA(memccpy)
  30.     #endif
  31.     _NA(memicmp)
  32.     _NA(movedata)
  33. #elif _MSDOS && __HIGHC__
  34.     extern void * memccpy(void *,void *,int ,unsigned int );
  35.     extern int memicmp(const void *,const void *,unsigned int );
  36.     extern void movedata(unsigned int ,unsigned int ,unsigned int,
  37.         unsigned int ,unsigned int );
  38. #endif /* _NA_NAMES */
  39.  
  40. extern void * memchr(const void *,int ,size_t);
  41. extern void * memset(void *,int ,size_t);
  42. extern void * memcpy(void *,const void *,size_t);
  43.  
  44. extern int memcmp(const void *__s1, const void *__s2, size_t __n);
  45.  
  46. #ifdef __CPLUSPLUS__
  47. }
  48. #endif
  49. #endif /* _MEMORY_H */
  50.