Changeset 59ed424e in mainline for uspace/lib/fmgt/src/fsops.c
- Timestamp:
- 2026-02-11T12:02:03Z (30 hours ago)
- Branches:
- master
- Children:
- f9c30b9a
- Parents:
- 857fba8
- git-author:
- Jiri Svoboda <jiri@…> (2026-02-10 20:01:03)
- git-committer:
- Jiri Svoboda <jiri@…> (2026-02-11 12:02:03)
- File:
-
- 1 edited
-
uspace/lib/fmgt/src/fsops.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fmgt/src/fsops.c
r857fba8 r59ed424e 81 81 * @param fname Destination file name 82 82 * @param rfd Place to store file descriptor 83 * @param rskip If @c true, skip existing file and continue 84 * @return EOK on success or an error code 85 */ 86 errno_t fmgt_create_file(fmgt_t *fmgt, const char *fname, int *rfd, bool *rskip) 83 * @param raction If return value is EEXIST, fills in the action to take. 84 * @return EOK on success or an error code 85 */ 86 errno_t fmgt_create_file(fmgt_t *fmgt, const char *fname, int *rfd, 87 fmgt_exists_action_t *raction) 87 88 { 88 89 fmgt_io_error_t err; … … 93 94 unsigned flags; 94 95 errno_t rc; 95 96 *rskip = false;97 96 98 97 do { … … 110 109 fmgt_timer_start(fmgt); 111 110 112 if (exaction == fmgt_exr_skip) 113 *rskip = true; 111 *raction = exaction; 114 112 if (exaction != fmgt_exr_overwrite) 115 113 break;
Note:
See TracChangeset
for help on using the changeset viewer.
