Changeset 79ea5af in mainline for uspace/lib/posix/source
- Timestamp:
- 2017-03-30T20:47:53Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 67e881c
- Parents:
- ae7bfbbd
- Location:
- uspace/lib/posix/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/source/stdio.c
rae7bfbbd r79ea5af 576 576 int posix_remove(const char *path) 577 577 { 578 return negerrno(unlink, path); 578 if (rcerrno(vfs_unlink_path, path) != EOK) 579 return -1; 580 else 581 return 0; 579 582 } 580 583 -
uspace/lib/posix/source/unistd.c
rae7bfbbd r79ea5af 270 270 int posix_rmdir(const char *path) 271 271 { 272 return negerrno(rmdir, path); 272 if (rcerrno(vfs_unlink_path, path) != EOK) 273 return -1; 274 else 275 return 0; 273 276 } 274 277 … … 281 284 int posix_unlink(const char *path) 282 285 { 283 return negerrno(unlink, path); 286 if (rcerrno(vfs_unlink_path, path) != EOK) 287 return -1; 288 else 289 return 0; 284 290 } 285 291
Note:
See TracChangeset
for help on using the changeset viewer.