string.h 806 B

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