Searched defs:char_p (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/swap/
H A Dswap.c117 char *char_p; local
140 s_offset = strtol(argv[optind++], &char_p, 10);
141 if (errno != 0 || *char_p != '\0') {
173 s_offset = strtol(argv[optind++], &char_p, 10);
174 if (errno != 0 || *char_p != '\0') {
182 length = strtol(argv[optind++], &char_p, 10);
183 if (errno != 0 || *char_p != '\0') {
/illumos-gate/usr/src/cmd/passmgmt/
H A Dpassmgmt.c290 char *lognamp, *char_p; local
402 strtol(optarg, &char_p, 10)) < (long)0) ||
403 (*char_p != '\0') ||
475 passwd_st.pw_uid = (uid_t)strtol(optarg, &char_p, 10);
476 if ((*char_p != '\0') ||
490 passwd_st.pw_gid = (gid_t)strtol(optarg, &char_p, 10);
492 if ((*char_p != '\0') || (passwd_st.pw_gid < 0) ||
544 char_p = strchr(optarg, '=');
545 if (char_p == NULL)
548 *char_p
[all...]
/illumos-gate/usr/src/cmd/passwd/
H A Dpasswd.c685 char *char_p; local
880 (maxdate = strtol(optarg, &char_p, 10)) < -1 ||
881 *char_p != '\0') {
919 (strtol(optarg, &char_p, 10)) < 0 ||
920 *char_p != '\0') {
960 (strtol(optarg, &char_p, 10)) < 0 ||
961 *char_p != '\0') {

Completed in 266 milliseconds