diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2017-12-12 15:57:51 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2017-12-12 15:57:51 -0500 |
commit | 838ff9c67d4ade0e0e0ee7132eb933a7c861d384 (patch) | |
tree | 8013402e9bb89e342ef2d7545df1b0aacc40b547 /firmware/powermgmt.c | |
parent | cd3ea086ec3db709c6682d85f8a97b96646cbb4f (diff) |
Add a 32 byte read buffer to read_line.
Do as with fdprintf and avoid filesystem calls for every single
byte. If it overreads, just put the excess back with lseek, which
does no I/O itself.
Change-Id: Ifd5d21b5dca7183346e44d365d3f7d45e8cc6438
Diffstat (limited to 'firmware/powermgmt.c')
0 files changed, 0 insertions, 0 deletions