Changeset 67e881c in mainline for uspace/lib/posix/source/unistd.c
- Timestamp:
- 2017-03-30T20:59:36Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a56cef9
- Parents:
- 79ea5af
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/unistd.c
r79ea5af r67e881c 259 259 int posix_ftruncate(int fildes, posix_off_t length) 260 260 { 261 return negerrno(ftruncate, fildes, (aoff64_t) length); 261 if (rcerrno(vfs_resize, fildes, (aoff64_t) length) != EOK) 262 return -1; 263 else 264 return 0; 262 265 } 263 266
Note:
See TracChangeset
for help on using the changeset viewer.