Lines Matching defs:p
121 char *pmtag = NULL; /* argument to -p */
130 register char *p; /* scratch pointer */
134 while ((c = getopt(argc, argv, "adef:gi:Llm:p:rs:t:v:y:z:")) != -1) {
194 case 'p':
204 for (p = pmtag; *p; p++) {
205 if (!isalnum(*p)) {
224 for (p = svctag; *p; p++) {
225 if (!isalnum(*p)) {
241 for (p = type; *p; p++) {
242 if (!isalnum(*p)) {
380 (void) fprintf(stderr, "Usage:\t%s -a [ -p pmtag | -t type ] -s svctag -i id -m \"pmspecific\"\n", cmdname);
382 (void) fprintf(stderr, "\t%s -r -p pmtag -s svctag\n", cmdname);
383 (void) fprintf(stderr, "\t%s -e -p pmtag -s svctag\n", cmdname);
384 (void) fprintf(stderr, "\t%s -d -p pmtag -s svctag\n", cmdname);
385 (void) fprintf(stderr, "\t%s -l [ -p pmtag | -t type ] [ -s svctag ]\n", cmdname);
386 (void) fprintf(stderr, "\t%s -L [ -p pmtag | -t type ] [ -s svctag ]\n", cmdname);
387 (void) fprintf(stderr, "\t%s -g -p pmtag -s svctag [ -z script ]\n", cmdname);
648 char *p; /* scratch pointer */
705 p = strchr(from, DELIMC);
706 for ( ; from <= p; )
713 p = strchr(from, DELIMC);
714 for ( ; from < p; ) {
880 (void) fprintf(stderr, "try executing the command \"sacadm -x -p %s\"\n", tag);
901 " \"sacadm -x -p %s\"\n", tag);
914 (void) execl("/usr/sbin/sacadm", "sacadm", "-x", "-p", tag, 0);
949 register char *p; /* working pointer */
990 p = trim(buf);
991 if (*p == '\0')
993 parseline(p, pp, tp->t_tag);
1045 register char *p; /* working pointer */
1052 p = trim(buf);
1053 if (*p == '\0')
1055 parseline(p, &pmtab, tag);
1075 * args: p - pointer to the data read from the file (note - this is
1088 parseline(p, pp, tag)
1089 register char *p;
1099 p = nexttok(p, DELIM, FALSE);
1100 if (p == NULL) {
1105 if (strlen(p) > PMTAGSIZE) {
1106 p[PMTAGSIZE] = '\0';
1107 (void) fprintf(stderr, "tag too long, truncated to <%s>", p);
1109 pp->p_tag = p;
1115 p = nexttok(NULL, DELIM, FALSE);
1116 if (p == NULL) {
1122 while (*p) {
1123 switch (*p++) {
1131 (void) sprintf(buf, "Unrecognized flag <%c>", *(p - 1));
1142 p = nexttok(NULL, DELIM, FALSE);
1143 if (p == NULL) {
1148 pp->p_id = p;
1154 p = nexttok(NULL, DELIM, FALSE);
1155 if (p == NULL) {
1160 pp->p_res1 = p;
1166 p = nexttok(NULL, DELIM, FALSE);
1167 if (p == NULL) {
1172 pp->p_res2 = p;
1178 p = nexttok(NULL, DELIM, FALSE);
1179 if (p == NULL) {
1184 pp->p_res3 = p;
1190 p = nexttok(NULL, DELIM, TRUE);
1191 if (p == NULL) {
1196 pp->p_pmspec = p;
1302 register char *p; /* working pointer */
1311 p = trim(buf);
1312 if (*p == '\0')
1314 parse(p, sp);