54f55d79d9
It's a common task to duplicate some memory. Add (x)memdup functions. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
9 lines
127 B
C
9 lines
127 B
C
#ifndef __STRING_H
|
|
#define __STRING_H
|
|
|
|
#include <linux/string.h>
|
|
|
|
void *memdup(const void *, size_t);
|
|
|
|
#endif /* __STRING_H */
|