mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 12:22:30 +00:00
This patch improves the Readonly_file::read method such that the capacity of the specified buffer is used as upper bound for the read operation instead of VFS-internal I/O buffer sizes. This relieves the caller from implementing a read loop in most cases. As a step away from C-ish use of the API, the patch deprecates the old 'read' method that takes the buffer as char *, size_t arguments. Fixes #4745
This source-code repository contains genuine low-level OS components and interfaces of Genode. It solely depends on the framework's base API.