ratp: implement getenv as a standard ratp command
Also, use xstrndup() instead of the custom xmemdup_add_zero() as we're
working with strings anyway.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ec42940 commit 884eeea4082b36e8cca56f2886947d934bf40238
@Aleksander Morgado Aleksander Morgado authored on 24 Feb 2018
Sascha Hauer committed on 1 Mar 2018
Showing 3 changed files
View
common/ratp/Makefile
View
common/ratp/getenv.c 0 → 100644
View
common/ratp/ratp.c