diff options
author | Prashanth Pai <ppai@redhat.com> | 2015-06-23 20:04:30 +0530 |
---|---|---|
committer | Prashanth Pai <ppai@redhat.com> | 2016-02-24 11:16:57 +0530 |
commit | 14c16992b563a77330478bcc6fecdb54df4300b5 (patch) | |
tree | a21195304749786c8564fb4339ac7c3120fbb9d1 /README.md | |
parent | 6df97fd49fa9be6394bd066c6c64fd7c06959a77 (diff) |
Add readinto() API
readinto()
This method is useful when you have to read a large file over multiple
read calls. While read() allocates a buffer every time it's invoked,
readinto() copies data to an already allocated buffer passed to it.
Change-Id: Ic8a3aa0e544e09e05101c983b329c91864832e4a
Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions