8 /* If nonzero, ignore nonexistent files. */
9 int ignore_missing_files
;
11 /* If nonzero, query the user about whether to remove each file. */
14 /* If nonzero, recursively remove directories. */
17 /* Pointer to the device and inode numbers of `/', when --recursive.
19 struct dev_ino
*root_dev_ino
;
21 /* If nonzero, stdin is a tty. */
24 /* If nonzero, remove directories with unlink instead of rmdir, and don't
25 require a directory to be empty before trying to unlink it.
26 Only works for the super-user. */
29 /* If nonzero, display the name of each file removed. */
35 /* These must be listed in order of increasing seriousness. */
42 # define VALID_STATUS(S) \
43 ((S) == RM_OK || (S) == RM_USER_DECLINED || (S) == RM_ERROR)
45 # define UPDATE_STATUS(S, New_value) \
48 if ((New_value) == RM_ERROR \
49 || ((New_value) == RM_USER_DECLINED && (S) == RM_OK)) \
54 enum RM_status
rm (size_t n_files
, char const *const *file
,
55 struct rm_options
const *x
);