string.h 618 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (C) 2004 Microtronix Datacom Ltd
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. */
  8. #ifndef _ASM_NIOS2_STRING_H
  9. #define _ASM_NIOS2_STRING_H
  10. #ifdef __KERNEL__
  11. #define __HAVE_ARCH_MEMSET
  12. #define __HAVE_ARCH_MEMCPY
  13. #define __HAVE_ARCH_MEMMOVE
  14. extern void *memset(void *s, int c, size_t count);
  15. extern void *memcpy(void *d, const void *s, size_t count);
  16. extern void *memmove(void *d, const void *s, size_t count);
  17. #endif /* __KERNEL__ */
  18. #endif /* _ASM_NIOS2_STRING_H */