Changes in uspace/lib/posix/stdio.c [cfbb5d18:221afc9e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/stdio.c
rcfbb5d18 r221afc9e 31 31 * @{ 32 32 */ 33 /** @file Standard buffered input/output.33 /** @file 34 34 */ 35 35 … … 355 355 { 356 356 off64_t ret = ftell(stream); 357 if (ret != -1) { 358 pos->offset = ret; 359 return 0; 360 } else { 361 return -1; 362 } 357 if (ret == -1) { 358 return errno; 359 } 360 pos->offset = ret; 361 return 0; 363 362 } 364 363
Note:
See TracChangeset
for help on using the changeset viewer.