MCPcopy Create free account
hub / github.com/coreutils/coreutils / rm_option_init

Function rm_option_init

src/rm.c:215–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215static void
216rm_option_init (struct rm_options *x)
217{
218 x->ignore_missing_files = false;
219 x->interactive = RMI_SOMETIMES;
220 x->one_file_system = false;
221 x->remove_empty_directories = false;
222 x->recursive = false;
223 x->root_dev_ino = NULL;
224 x->preserve_all_root = false;
225 x->stdin_tty = isatty (STDIN_FILENO);
226 x->verbose = false;
227
228 /* Since this program exits immediately after calling 'rm', rm need not
229 expend unnecessary effort to preserve the initial working directory. */
230 x->require_restore_cwd = false;
231}
232
233int
234main (int argc, char **argv)

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected