Simon Glass b254a8359e sandbox: Return error code from read/write/seek
The existing API for these functions is different from the rest of
U-Boot, in that any error code must be obtained from the errno variable
on failure. This variable is part of the C library, so accessing it
outside of the special 'sandbox' shim-functions is not ideal.

Adjust the API to return an error code, to avoid this. Update existing
uses to check for any negative value, rather than just -1.

Signed-off-by: Simon Glass <sjg@chromium.org>
2024-08-09 16:03:19 -06:00
..
2024-06-24 13:34:52 -06:00
2023-11-07 14:50:51 -05:00
2024-08-05 12:17:01 -06:00
2024-07-26 01:28:11 +02:00
2024-04-26 08:28:35 +03:00
2024-07-31 16:51:54 +02:00
2024-05-05 11:21:39 -03:00