Changeset b7fd2a0 in mainline for uspace/app/bdsh/cmds/modules/cat/cat.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/cat/cat.c
r36f0738 rb7fd2a0 187 187 off64_t file_size = 0, length = 0; 188 188 aoff64_t pos = 0; 189 int rc;189 errno_t rc; 190 190 191 191 bool reading_stdin = dash_represents_stdin && (str_cmp(fname, "-") == 0); … … 196 196 blen = STR_BOUNDS(1); 197 197 } else { 198 int rc = vfs_lookup_open(fname, WALK_REGULAR, MODE_READ, &fd);198 errno_t rc = vfs_lookup_open(fname, WALK_REGULAR, MODE_READ, &fd); 199 199 if (rc != EOK) { 200 200 fd = -1; … … 316 316 bool tailFirst = false; 317 317 sysarg_t rows, cols; 318 int rc;318 errno_t rc; 319 319 320 320 /*
Note:
See TracChangeset
for help on using the changeset viewer.