That will contain more string functions with counterparts, sometimes verbatim copies, in the kernel.
Showing the changes to tools/include/linux/string.h (1 of 6 files). Show all
Unified · Split
| @@ -0,0 +1,9 @@ | |||
| 1 | #ifndef _TOOLS_LINUX_STRING_H_ | ||
| 2 | #define _TOOLS_LINUX_STRING_H_ | ||
| 3 | |||
| 4 | |||
| 5 | #include <linux/types.h> /* for size_t */ | ||
| 6 | |||
| 7 | void *memdup(const void *src, size_t len); | ||
| 8 | |||
| 9 | #endif /* _LINUX_STRING_H_ */ | ||