On 15/07/06, Linus Nielsen Feltzing <[EMAIL PROTECTED]> wrote:
Jonathan Gordon wrote:
>    // move the fd back to AFTER the \n if needed
>    if (!errno)
>        lseek(fd,num_read-count+1,SEEK_CUR);

That could be a really lengthy operation if it crosses a sector boundary.

but it that worse than doing lots of 1 byte reads?
Linus

Reply via email to