Changes in uspace/lib/c/generic/io/io.c [0803134:b72efe8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/io.c
r0803134 rb72efe8 594 594 } 595 595 596 data+= now;596 buf += now; 597 597 stream->buf_head += now; 598 598 buf_free -= now; 599 599 bytes_left -= now; 600 600 total_written += now; 601 stream->buf_state = _bs_write;602 601 603 602 if (buf_free == 0) { … … 607 606 } 608 607 } 608 609 if (total_written > 0) 610 stream->buf_state = _bs_write; 609 611 610 612 if (need_flush) … … 712 714 off64_t ftell(FILE *stream) 713 715 { 714 _fflushbuf(stream);715 716 return lseek(stream->fd, 0, SEEK_CUR); 716 717 }
Note:
See TracChangeset
for help on using the changeset viewer.