home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / emxdev8f.zip / MEMORY.H < prev    next >
C/C++ Source or Header  |  1992-11-18  |  988b  |  40 lines

  1. /* memory.h (emx+gcc) */
  2.  
  3. #if !defined (_MEMORY_H)
  4. #define _MEMORY_H
  5.  
  6. #if defined (__cplusplus)
  7. extern "C" {
  8. #endif
  9.  
  10. #if !defined (_SIZE_T)
  11. #define _SIZE_T
  12. typedef unsigned long size_t;
  13. #endif
  14.  
  15. #if !defined (NULL)
  16. #define NULL ((void *)0)
  17. #endif
  18.  
  19. #if !defined (_MEMDIF_EQ)
  20. #define _MEMDIF_EQ 0xffffffff
  21. #endif
  22.  
  23. void *memccpy (void *s1, __const__ void *s2, int c, size_t n);
  24. void *memchr (__const__ void *s, int c, size_t n);
  25. int memcmp (__const__ void *s1, __const__ void *s2, size_t n);
  26. void *memcpy (void *s1, __const__ void *s2, size_t n);
  27. int memicmp (__const__ void *s1, __const__ void *s2, size_t n);
  28. void *memmove (void *s1, __const__ void *s2, size_t n);
  29. void *memset (void *s, int c, size_t n);
  30.  
  31. size_t _memcount (__const__ void *mem, int c, size_t n);
  32. size_t _memdif (__const__ void *mem1, __const__ void *m2m, size_t n);
  33. void _memswap (void *s1, void *s2, size_t n);
  34.  
  35. #if defined (__cplusplus)
  36. }
  37. #endif
  38.  
  39. #endif /* !defined (_MEMORY_H) */
  40.