Rename read syscall, vfs_read and so to xxx_read_file
This commit is contained in:
@@ -150,8 +150,8 @@ int tarfs_describe (struct vfs_volume* volume, const char* path, struct desc* de
|
||||
}
|
||||
}
|
||||
|
||||
int tarfs_read (struct vfs_volume* volume, const char* path, uint8_t* buffer, size_t off,
|
||||
size_t size) {
|
||||
int tarfs_read_file (struct vfs_volume* volume, const char* path, uint8_t* buffer, size_t off,
|
||||
size_t size) {
|
||||
(void)volume;
|
||||
|
||||
const char* filename = path_basename (path);
|
||||
@@ -196,8 +196,8 @@ int tarfs_read_dir_entry (struct vfs_volume* volume, const char* path, struct di
|
||||
return ST_DIR_NO_ENTRIES;
|
||||
}
|
||||
|
||||
int tarfs_write (struct vfs_volume* volume, const char* path, uint8_t* buffer, size_t off,
|
||||
size_t size) {
|
||||
int tarfs_write_file (struct vfs_volume* volume, const char* path, uint8_t* buffer, size_t off,
|
||||
size_t size) {
|
||||
(void)volume, (void)path, (void)buffer, (void)off, (void)size;
|
||||
return ST_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user