barebox/include/string.h
Sascha Hauer 54f55d79d9 string: Add (x)memdup
It's a common task to duplicate some memory. Add (x)memdup functions.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-11-27 10:42:54 +01:00

9 lines
127 B
C

#ifndef __STRING_H
#define __STRING_H
#include <linux/string.h>
void *memdup(const void *, size_t);
#endif /* __STRING_H */