Searched refs:choice (Results 1 - 1 of 1) sorted by relevance

/solaris-x11-s11/open-src/lib/DPS/sun-src/makepsres/
H A Dmakepsres.c1348 int i, numCats, choice, size; local
1369 if (scanf("%d", &choice) != 1) {
1378 if (choice < 0 || (file != NULL && choice > numCats+2) ||
1379 (file == NULL && choice > numCats+1)) {
1380 printf("Invalid choice\n\n");
1383 if (choice == numCats+2) {
1391 if (choice == 0) {
1395 if (choice == numCats+1) {
1415 if (strcmp(userCategories[choice
[all...]

Completed in 12 milliseconds