Lines Matching refs:argv
68 ADM_Process_useradd(int argc, char *argv[])
86 if (strlen(argv[2]) > DP_USER_NAME_SIZE) {
94 (void) strcpy(userName, argv[2]);
138 ADM_Process_userdel(int argc, char *argv[])
156 if (strlen(argv[2]) > DP_USER_NAME_SIZE) {
164 (void) strcpy(userName, argv[2]);
198 ADM_Process_usershow(int argc, char *argv[])
226 if (strlen(argv[2]) > DP_USER_NAME_SIZE) {
232 (void) strcpy(userName, argv[2]);
329 ADM_Process_userpassword(int argc, char *argv[])
352 if (strlen(argv[2]) > DP_USER_NAME_SIZE) {
360 (void) strcpy(userName, argv[2]);
426 ADM_Process_userperm(int argc, char *argv[])
446 if ((strlen(argv[3]) > 4) || (strlen(argv[3]) < 1)) {
452 for (index = 0; index < strlen(argv[3]); index++) {
453 if ((argv[3][index] != 'c') &&
454 (argv[3][index] != 'C') &&
455 (argv[3][index] != 'u') &&
456 (argv[3][index] != 'U') &&
457 (argv[3][index] != 'a') &&
458 (argv[3][index] != 'A') &&
459 (argv[3][index] != 'r') &&
460 (argv[3][index] != 'R')) {
465 if ((argv[3][index] == 'c') ||
466 (argv[3][index] == 'C')) {
475 if ((argv[3][index] == 'u') ||
476 (argv[3][index] == 'U')) {
485 if ((argv[3][index] == 'a') ||
486 (argv[3][index] == 'A')) {
495 if ((argv[3][index] == 'r') ||
496 (argv[3][index] == 'R')) {
509 if (strlen(argv[2]) > DP_USER_NAME_SIZE) {
518 (void) strcpy(userName, argv[2]);