diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-04-01 16:20:12 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-04-01 16:20:12 +0100 |
| commit | fb81b7b736659a142d4d4b140155a6492943661e (patch) | |
| tree | d50fb7363a7c170c2616022dadc77dd81bcd2ebf /util/libreboot-utils/include | |
| parent | f68cedf202c1fc6c39243136a4d766bc1d67cc80 (diff) | |
lbutils/file: rename rw_file_exact
call it rw_exact, so that it's closer to
the name rw. it matches naming more closely;
the alternative was to call rw rw_file
but read/write can handle more than just files!
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/libreboot-utils/include')
| -rw-r--r-- | util/libreboot-utils/include/common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/libreboot-utils/include/common.h b/util/libreboot-utils/include/common.h index 2e8cb9a7..de643402 100644 --- a/util/libreboot-utils/include/common.h +++ b/util/libreboot-utils/include/common.h @@ -457,7 +457,7 @@ ssize_t rw_gbe_file_exact(int fd, unsigned char *mem, size_t nrw, */ int fsync_dir(const char *path); -ssize_t rw_file_exact(int fd, unsigned char *mem, size_t len, +ssize_t rw_exact(int fd, unsigned char *mem, size_t len, off_t off, int rw_type); ssize_t rw(int fd, void *mem, size_t nrw, off_t off, int rw_type); |
