Home
last modified time | relevance | path

Searched refs:dry_run (Results 1 – 1 of 1) sorted by relevance

/coreutils/src/
Dmktemp.c114 mkstemp_len (char *tmpl, size_t suff_len, size_t x_len, bool dry_run) in mkstemp_len() argument
116 return gen_tempname_len (tmpl, suff_len, 0, dry_run ? GT_NOCREATE : GT_FILE, in mkstemp_len()
121 mkdtemp_len (char *tmpl, size_t suff_len, size_t x_len, bool dry_run) in mkdtemp_len() argument
123 return gen_tempname_len (tmpl, suff_len, 0, dry_run ? GT_NOCREATE : GT_DIR, in mkdtemp_len()
155 bool dry_run = false; in main() local
188 dry_run = true; in main()
305 int err = mkdtemp_len (dest_name, suffix_len, x_count, dry_run); in main()
316 int fd = mkstemp_len (dest_name, suffix_len, x_count, dry_run); in main()
317 if (fd < 0 || (!dry_run && close (fd) != 0)) in main()
331 if (!dry_run && ((stdout_closed = true), close_stream (stdout) != 0)) in main()