Lines Matching +full:- +full:- +full:valid +full:- +full:-
52 "usage: getconf -a [pathname]\n" in usage()
53 " getconf [-v prog_env] system_var\n" in usage()
54 " getconf [-v prog_env] path_var pathname\n"); in usage()
62 int c, key, valid; in main() local
69 while ((c = getopt(argc, argv, "av:")) != -1) { in main()
97 if ((valid = find_progenv(vflag, &alt_path)) == 0) in main()
100 if (valid > 0 && alt_path != NULL) { in main()
110 if (valid < 0) in main()
116 if ((valid = find_unsigned_limit(name, &ulimitval)) != 0) { in main()
117 if (valid > 0) in main()
123 if ((valid = find_limit(name, &limitval)) != 0) { in main()
124 if (valid > 0) in main()
131 if ((valid = find_confstr(name, &key)) != 0) { in main()
132 if (valid > 0) in main()
137 valid = find_sysconf(name, &key); in main()
138 if (valid > 0) { in main()
140 } else if (valid < 0) { in main()
148 valid = find_pathconf(name, &key); in main()
149 if (valid != 0) { in main()
150 if (valid > 0) in main()
191 if (value == -1 && errno != 0) { in do_onesys()
196 if (value == -1) in do_onesys()
217 if (value == -1 && errno != EINVAL && errno != 0) in do_onepath()
220 if (value == -1) in do_onepath()
263 if (value == -1 && errno != 0) in do_sysconf()
265 else if (value == -1) in do_sysconf()
278 if (value == -1 && errno != 0) in do_pathconf()
280 else if (value == -1) in do_pathconf()