5 /* If nonzero, ignore nonexistent files. */
6 int ignore_missing_files
;
8 /* If nonzero, query the user about whether to remove each file. */
11 /* If nonzero, recursively remove directories. */
14 /* If nonzero, stdin is a tty. */
17 /* If nonzero, remove directories with unlink instead of rmdir, and don't
18 require a directory to be empty before trying to unlink it.
19 Only works for the super-user. */
22 /* If nonzero, display the name of each file removed. */
28 /* These must be listed in order of increasing seriousness. */
35 #define VALID_STATUS(S) \
36 ((S) == RM_OK || (S) == RM_USER_DECLINED || (S) == RM_ERROR)
38 #define UPDATE_STATUS(S, New_value) \
41 if ((New_value) == RM_ERROR \
42 || ((New_value) == RM_USER_DECLINED && (S) == RM_OK)) \
53 enum RM_status rm
PARAMS ((size_t n_files
, char const *const *file
,
54 struct rm_options
const *x
));