string.h: Implement strndup
I implemented this while trying to import mmc-utils into barebox. While
I didn't finish this import this function might still be useful for
someone?!

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4797aa7 commit 48e7b8ae0de2e3a7ec08286e764c46768da9b2bf
@Uwe Kleine-König Uwe Kleine-König authored on 20 Dec 2017
Sascha Hauer committed on 5 Jan 2018
Showing 2 changed files
View
include/linux/string.h
View
lib/string.c