string.h 806 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * (C) Copyright 2004, Psyent Corporation <www.psyent.com>
  3. * Scott McNutt <smcnutt@psyent.com>
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __ASM_NIOS2_STRING_H_
  8. #define __ASM_NIOS2_STRING_H_
  9. #undef __HAVE_ARCH_STRRCHR
  10. extern char * strrchr(const char * s, int c);
  11. #undef __HAVE_ARCH_STRCHR
  12. extern char * strchr(const char * s, int c);
  13. #undef __HAVE_ARCH_MEMCPY
  14. extern void * memcpy(void *, const void *, __kernel_size_t);
  15. #undef __HAVE_ARCH_MEMMOVE
  16. extern void * memmove(void *, const void *, __kernel_size_t);
  17. #undef __HAVE_ARCH_MEMCHR
  18. extern void * memchr(const void *, int, __kernel_size_t);
  19. #undef __HAVE_ARCH_MEMSET
  20. extern void * memset(void *, int, __kernel_size_t);
  21. #undef __HAVE_ARCH_MEMZERO
  22. extern void memzero(void *ptr, __kernel_size_t n);
  23. #endif /* __ASM_NIOS2_STRING_H_ */