Changeset 9c4cf0d in mainline for uspace/lib/posix/source/unistd.c
- Timestamp:
- 2017-04-02T11:24:06Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- 151f1cc
- Parents:
- b19e892
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/unistd.c
rb19e892 r9c4cf0d 179 179 { 180 180 posix_pos[fildes] = 0; 181 return negerrno(close, fildes); 181 int rc = rcerrno(vfs_put, fildes); 182 if (rc != EOK) 183 return -1; 184 else 185 return 0; 182 186 } 183 187 … … 338 342 if (fd < 0) 339 343 return -1; 340 close(fd);344 posix_close(fd); 341 345 return 0; 342 346 } else {
Note:
See TracChangeset
for help on using the changeset viewer.