#ifndef _TOOLS_LINUX_STRING_H_ #define _TOOLS_LINUX_STRING_H_ #include <linux/types.h> /* for size_t */ void *memdup(const void *src, size_t len); int strtobool(const char *s, bool *res); /* * glibc based builds needs the extern while uClibc doesn't. * However uClibc headers also define __GLIBC__ hence the hack below */ #if defined(__GLIBC__) && !defined(__UCLIBC__) extern size_t strlcpy(char *dest, const char *src, size_t size); #endif char *str_error_r(int errnum, char *buf, size_t buflen); #endif /* _LINUX_STRING_H_ */Overall Contributors
Person | Tokens | Prop | Commits | CommitProp | |
arnaldo carvalho de melo | arnaldo carvalho de melo | 42 | 48.84% | 3 | 50.00% |
josh poimboeuf | josh poimboeuf | 19 | 22.09% | 1 | 16.67% |
wang nan | wang nan | 13 | 15.12% | 1 | 16.67% |
vineet gupta | vineet gupta | 12 | 13.95% | 1 | 16.67% |
Total | 86 | 100.00% | 6 | 100.00% |