string.h 315 B

123456789101112131415
  1. #ifndef _TOOLS_LINUX_STRING_H_
  2. #define _TOOLS_LINUX_STRING_H_
  3. #include <linux/types.h> /* for size_t */
  4. void *memdup(const void *src, size_t len);
  5. int strtobool(const char *s, bool *res);
  6. #ifndef __UCLIBC__
  7. extern size_t strlcpy(char *dest, const char *src, size_t size);
  8. #endif
  9. #endif /* _LINUX_STRING_H_ */