commit | b4467fae06e7c5b48635cd28e0b168b8508ad168 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Aug 18 21:40:30 2021 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Sep 16 13:19:25 2021 -0400 |
tree | c6bdb800ed5f2021484a0945388cc61922ff9702 | |
parent | 79b3f367304dc743518200eb6b82556890c9ae05 [diff] |
sandbox: Add a way to find the size of a file Add a function to return the size of a file. This is useful in situations where we need to allocate memory for it before reading it. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>