memutil.h 286 B

1234567891011121314151617
  1. #ifndef _MEMUTIL_H
  2. #define _MEMUTIL_H
  3. #include <sys/types.h>
  4. #undef str_redup
  5. #undef strdup
  6. #undef calloc
  7. #undef realloc
  8. void str_redup(char **, const char *);
  9. char * strdup(const char *);
  10. void *my_calloc(size_t, size_t);
  11. void *my_realloc(void *, size_t);
  12. #endif /* !_MEMUTIL_H */