mirror of
https://github.com/neovim/neovim.git
synced 2025-09-09 04:48:18 +00:00
file: Add buffered reading and writing
Still no busted tests. Not tested without HAVE_PREADV.
This commit is contained in:
@@ -153,7 +153,7 @@ void rbuffer_consumed(RBuffer *buf, size_t count)
|
||||
|
||||
// Higher level functions for copying from/to RBuffer instances and data
|
||||
// pointers
|
||||
size_t rbuffer_write(RBuffer *buf, char *src, size_t src_size)
|
||||
size_t rbuffer_write(RBuffer *buf, const char *src, size_t src_size)
|
||||
FUNC_ATTR_NONNULL_ALL
|
||||
{
|
||||
size_t size = src_size;
|
||||
|
Reference in New Issue
Block a user