Lines Matching refs:ops
59 bin_sync(UNUSED(char *nam), UNUSED(char **args), UNUSED(Options ops), UNUSED(int func))
69 bin_mkdir(char *nam, char **args, Options ops, UNUSED(int func))
76 if(OPT_ISSET(ops,'m')) {
77 char *str = OPT_ARG(ops,'m'), *ptr;
90 if(OPT_ISSET(ops,'p')) {
146 bin_rmdir(char *nam, char **args, UNUSED(Options ops), UNUSED(int func))
196 bin_ln(char *nam, char **args, Options ops, int func)
207 flags = OPT_ISSET(ops,'f') ? 0 : MV_ASKNW;
210 flags = OPT_ISSET(ops,'f') ? MV_FORCE : 0;
212 if(OPT_ISSET(ops,'h') || OPT_ISSET(ops,'n'))
214 if(OPT_ISSET(ops,'s'))
220 if(!OPT_ISSET(ops,'d'))
224 if(OPT_ISSET(ops,'i') && !OPT_ISSET(ops,'f'))
606 bin_rm(char *nam, char **args, Options ops, UNUSED(int func))
612 rmm.opt_force = OPT_ISSET(ops,'f');
613 rmm.opt_interact = OPT_ISSET(ops,'i') && !OPT_ISSET(ops,'f');
614 rmm.opt_unlinkdir = OPT_ISSET(ops,'d');
615 err = recursivecmd(nam, OPT_ISSET(ops,'f'),
616 OPT_ISSET(ops,'r') && !OPT_ISSET(ops,'d'),
617 OPT_ISSET(ops,'s'),
619 return OPT_ISSET(ops,'f') ? 0 : err;
675 bin_chown(char *nam, char **args, Options ops, int func)
740 return recursivecmd(nam, 0, OPT_ISSET(ops,'R'), OPT_ISSET(ops,'s'),
741 args + 1, OPT_ISSET(ops, 'h') ? chown_dolchown : chown_dochown, recurse_donothing,
742 OPT_ISSET(ops, 'h') ? chown_dolchown : chown_dochown, &chm);