From 03dd4cb26d967f9588437b0fc9cc0e8353322bb7 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Fri, 25 Mar 2016 03:53:42 -0300 Subject: Linux-libre 4.5-gnu --- tools/include/linux/string.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/include/linux/string.h (limited to 'tools/include/linux/string.h') diff --git a/tools/include/linux/string.h b/tools/include/linux/string.h new file mode 100644 index 000000000..e26223f1f --- /dev/null +++ b/tools/include/linux/string.h @@ -0,0 +1,15 @@ +#ifndef _TOOLS_LINUX_STRING_H_ +#define _TOOLS_LINUX_STRING_H_ + + +#include /* for size_t */ + +void *memdup(const void *src, size_t len); + +int strtobool(const char *s, bool *res); + +#ifndef __UCLIBC__ +extern size_t strlcpy(char *dest, const char *src, size_t size); +#endif + +#endif /* _LINUX_STRING_H_ */ -- cgit v1.2.3-54-g00ecf