Skip to content
Commit 6dc1e2f1 authored by Marek Behún's avatar Marek Behún Committed by Simon Glass
Browse files

env: Fix documentation for env_get_f()



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: default avatarMarek Behún <marek.behun@nic.cz>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 36109708
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment