Lines Matching refs:toys
55 #include "toys.h"
101 if (toys.optflags & FLAG_v) {
110 if (toys.optflags & FLAG_l) {
152 if ((root->name[0] != '.') || (toys.optflags & FLAG_a)) {
154 if (S_ISDIR(root->st.st_mode) && (toys.optflags & FLAG_R)
167 if (!*toys.optargs) dirtree_read(".", retell_dir);
169 for (; *toys.optargs; toys.optargs++) {
172 if (lstat(*toys.optargs, &sb)) perror_msg("stat '%s'", *toys.optargs);
173 else if (S_ISDIR(sb.st_mode) && !(toys.optflags & FLAG_d))
174 dirtree_read(*toys.optargs, retell_dir);
175 else print_file_attr(*toys.optargs);// to handle "./Filename" or "./Dir"
301 char **argv = toys.optargs;
312 toys.exitval = 0; //always set success at this point.