Changeset f04b5b3 in mainline
- Timestamp:
- 2017-12-21T20:24:23Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1026da, bad8d41
- Parents:
- 39b54fe
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/dirent.c
r39b54fe rf04b5b3 114 114 int closedir(DIR *dirp) 115 115 { 116 int rc; 117 118 rc = vfs_put(dirp->fd); 116 int rc = vfs_put(dirp->fd); 119 117 free(dirp); 120 118 121 /* On error errno was set by close() */ 122 return rc; 119 if (rc == EOK) { 120 return 0; 121 } else { 122 errno = rc; 123 return -1; 124 } 123 125 } 124 126
Note:
See TracChangeset
for help on using the changeset viewer.