Changeset c77a64f in mainline
- Timestamp:
- 2010-01-10T12:22:14Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6c01702
- Parents:
- 5f70118
- Location:
- uspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/io/io.c
r5f70118 rc77a64f 595 595 } 596 596 597 void clearerr(FILE *stream) 598 { 599 stream->eof = false; 600 stream->error = false; 601 } 602 597 603 int fphone(FILE *stream) 598 604 { -
uspace/srv/bd/file_bd/file_bd.c
r5f70118 rc77a64f 208 208 fibril_mutex_lock(&dev_lock); 209 209 210 clearerr(img); 210 211 fseek(img, ba * block_size, SEEK_SET); 211 212 n_rd = fread(buf, block_size, cnt, img); … … 231 232 fibril_mutex_lock(&dev_lock); 232 233 234 clearerr(img); 233 235 fseek(img, ba * block_size, SEEK_SET); 234 236 n_wr = fwrite(buf, block_size, cnt, img);
Note:
See TracChangeset
for help on using the changeset viewer.