Lines Matching refs:path
9 * Added -a, copied FSF behavior of assuming "/" if no path supplied.
19 Get system configuration values. Values from pathconf(3) require a path.
21 -a Show all (defaults to "/" if no path given)
120 // Probe the live system with a path
174 static void show_conf(int i, struct config *c, const char *path)
177 long l = i ? pathconf(path, c->value) : sysconf(c->value);
196 char *name, *path = (toys.optc==2) ? toys.optargs[1] : "/",
205 show_conf(i, c, path);
233 // Check that we do/don't have the extra path argument.
235 if (toys.optc!=2) help_exit("%s needs a path", name);
236 } else if (toys.optc!=1) help_exit("%s does not take a path", name);
238 show_conf(i, c, path);