]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - tools/include/linux/string.h
ASoC: sti: fix missing clk_disable_unprepare() on error in uni_player_start()
[mirror_ubuntu-bionic-kernel.git] / tools / include / linux / string.h
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 int strtobool(const char *s, bool *res);
10
11 #ifdef __GLIBC__
12 extern size_t strlcpy(char *dest, const char *src, size_t size);
13 #endif
14
15 char *str_error_r(int errnum, char *buf, size_t buflen);
16
17 #endif /* _LINUX_STRING_H_ */