cregit-Linux how code gets into the kernel

Release 4.12 tools/include/linux/string.h

#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);

int prefixcmp(const char *str, const char *prefix);

#endif /* _LINUX_STRING_H_ */

Overall Contributors

PersonTokensPropCommitsCommitProp
Arnaldo Carvalho de Melo5656.00%457.14%
Josh Poimboeuf1919.00%114.29%
Wang Nan1313.00%114.29%
Vineet Gupta1212.00%114.29%
Total100100.00%7100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.