Searched refs:char_p (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/swap/ |
H A D | swap.c | 120 char *char_p; in main() local 143 s_offset = strtol(argv[optind++], &char_p, 10); in main() 144 if (errno != 0 || *char_p != '\0') { in main() 176 s_offset = strtol(argv[optind++], &char_p, 10); in main() 177 if (errno != 0 || *char_p != '\0') { in main() 185 length = strtol(argv[optind++], &char_p, 10); in main() 186 if (errno != 0 || *char_p != '\0') { in main()
|
/illumos-gate/usr/src/cmd/passmgmt/ |
H A D | passmgmt.c | 292 char *lognamp, *char_p; in main() local 404 strtol(optarg, &char_p, 10)) < (long)0) || in main() 405 (*char_p != '\0') || in main() 477 passwd_st.pw_uid = (uid_t)strtol(optarg, &char_p, 10); in main() 478 if ((*char_p != '\0') || in main() 492 passwd_st.pw_gid = (gid_t)strtol(optarg, &char_p, 10); in main() 494 if ((*char_p != '\0') || (passwd_st.pw_gid < 0) || in main() 546 char_p = strchr(optarg, '='); in main() 547 if (char_p == NULL) in main() 550 *char_p++ = '\0'; in main() [all …]
|
/illumos-gate/usr/src/cmd/passwd/ |
H A D | passwd.c | 687 char *char_p; in ckarg() local 882 (maxdate = strtol(optarg, &char_p, 10)) < -1 || in ckarg() 883 *char_p != '\0') { in ckarg() 921 (strtol(optarg, &char_p, 10)) < 0 || in ckarg() 922 *char_p != '\0') { in ckarg() 962 (strtol(optarg, &char_p, 10)) < 0 || in ckarg() 963 *char_p != '\0') { in ckarg()
|