
21 Oct
2021
21 Oct
'21
8:49 p.m.
From: Marek BehĂșn marek.behun@nic.cz
This function actually returns: - the number of bytes written into @buf excluding the terminating NULL-byte, if there was enough space in @buf - the number of bytes written into @buf including the terminating NULL-byte, if there wasn't enough space in @buf - -1 if the variable is not found
Signed-off-by: Marek BehĂșn marek.behun@nic.cz Reviewed-by: Simon Glass sjg@chromium.org --- include/env.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
Applied to u-boot-dm, thanks!