dos.library: allow FRead to read directly from the buffer without need for going...
commitd3b5514e75f0c1a767271a8d1dea7cf4a89afa62
authordeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 27 Apr 2014 15:28:33 +0000 (27 15:28 +0000)
committerdeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sun, 27 Apr 2014 15:28:33 +0000 (27 15:28 +0000)
treee3aa64195371c3041e6d1915a4b7ddadd2d7f53d
parent2cc881fc732bfa148435acf21163860ed66af2b3
dos.library: allow FRead to read directly from the buffer without need for going through FGetC

Previous implementation caused a function call for each byte read. 1MB of
data = 1 million calls.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48974 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
rom/dos/dos_intern.h
rom/dos/fgetc.c
rom/dos/fread.c [copied from rom/dos/fgetc.c with 52% similarity]