2015-11-16 11:36:29 -03:00
|
|
|
#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);
|
|
|
|
|
|
2015-11-16 11:42:05 -03:00
|
|
|
int strtobool(const char *s, bool *res);
|
|
|
|
|
|
2015-12-15 09:39:33 -06:00
|
|
|
#ifndef __UCLIBC__
|
|
|
|
|
extern size_t strlcpy(char *dest, const char *src, size_t size);
|
|
|
|
|
#endif
|
|
|
|
|
|
2015-11-16 11:36:29 -03:00
|
|
|
#endif /* _LINUX_STRING_H_ */
|