read() blocks when there is no more data to read. However, we do need to loop when read is divided into blocks. Signed-off-by: Simon Rozman <simon@rozman.si>
read() blocks when there is no more data to read. However, we do need to loop when read is divided into blocks. Signed-off-by: Simon Rozman <simon@rozman.si>