diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-10-17 18:36:26 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-10-21 21:50:48 +0300 |
commit | 6dc1e2f10c7ca8ba7caf5444efeb5bb015837829 (patch) | |
tree | 39c4afcbe35e0c7198043ea7603e5f82001fc04c /env/nvram.c | |
parent | 3610970872351b58d9cfdbd9bf9aeabc6adac7b5 (diff) | |
download | u-boot-6dc1e2f10c7ca8ba7caf5444efeb5bb015837829.tar.xz |
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: Marek BehĂșn <marek.behun@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'env/nvram.c')
0 files changed, 0 insertions, 0 deletions