mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 15:56:41 +00:00
bdf47785b8
The 'file_size' type denotes the size of files on disk in bytes. On 32-bit architectures it is larger than the size_t, which refers to in-memory object sizes. Whereas the use of 'file_size' is appropriate for ftruncate and seek, it is not a suitable type for the parameters of read/write operations because those operations refer to in-memory buffers. This patch replaces the use of 'file_size' by size_t. However, since it affects all sites where the read/write interface is uses, it takes the opportunity to replace the C-style (pointer, size) arguments by 'Byte_range_ptr' and 'Const_byte_range_ptr'. Issue #4706 |
||
---|---|---|
.. | ||
dir_file_system.h | ||
directory_service.h | ||
env.h | ||
file_io_service.h | ||
file_system_factory.h | ||
file_system.h | ||
print.h | ||
readonly_value_file_system.h | ||
remote_io.h | ||
simple_env.h | ||
single_file_system.h | ||
types.h | ||
value_file_system.h | ||
vfs_handle.h |