memset.h 420 B

1234567891011121314151617181920212223242526
  1. /*
  2. * memset.h
  3. * prototypes for memset.c
  4. *
  5. */
  6. #ifndef _EGG_COMPAT_MEMSET_H
  7. #define _EGG_COMPAT_MEMSET_H
  8. #ifdef HAVE_CONFIG_H
  9. # include "config.h"
  10. #endif
  11. #include <string.h>
  12. #ifndef HAVE_MEMSET
  13. /* Use our own implementation. */
  14. void *memset(void *dest, int c, size_t n);
  15. #endif
  16. /* Use memset instead of bzero.
  17. */
  18. //#undef bzero
  19. //#define bzero(dest, n) memset(dest, 0, n)
  20. #endif /* !__EGG_COMPAT_MEMSET_H */