commit | 7b9cf84f519b9f2c6f2842d9ba038a1e967058a3 | [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 | c44d5ab3d031265dc5f362d33ac288b6044b94b1 [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>