Changes in uspace/lib/c/generic/io/io.c [f77c1c9:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/io.c
rf77c1c9 rb7fd2a0 297 297 flags |= WALK_MAY_CREATE; 298 298 int file; 299 int rc = vfs_lookup(path, flags, &file);299 errno_t rc = vfs_lookup(path, flags, &file); 300 300 if (rc != EOK) { 301 301 errno = rc; … … 364 364 static int _fclose_nofree(FILE *stream) 365 365 { 366 int rc = 0;366 errno_t rc = 0; 367 367 368 368 fflush(stream); … … 433 433 static size_t _fread(void *buf, size_t size, size_t nmemb, FILE *stream) 434 434 { 435 int rc;435 errno_t rc; 436 436 size_t nread; 437 437 … … 462 462 static size_t _fwrite(const void *buf, size_t size, size_t nmemb, FILE *stream) 463 463 { 464 int rc;464 errno_t rc; 465 465 size_t nwritten; 466 466 … … 495 495 static void _ffillbuf(FILE *stream) 496 496 { 497 int rc;497 errno_t rc; 498 498 size_t nread; 499 499 … … 801 801 int fseek(FILE *stream, long offset, int whence) 802 802 { 803 int rc;803 errno_t rc; 804 804 805 805 if (stream->error) … … 877 877 878 878 if ((stream->fd >= 0) && (stream->need_sync)) { 879 int rc;879 errno_t rc; 880 880 881 881 /** … … 934 934 } 935 935 936 int vfs_fhandle(FILE *stream, int *handle)936 errno_t vfs_fhandle(FILE *stream, int *handle) 937 937 { 938 938 if (stream->fd >= 0) {
Note:
See TracChangeset
for help on using the changeset viewer.