Lines Matching defs:pc
84 * This function determines whether a file name (pc) matches a rule
92 match(const char *pc, char *pcrule)
102 if (fnmatch(pc, pcrule, FNM_PATHNAME) == 0 ||
103 fnmatch(pc, pcrule, 0) == 0)
107 j = strncmp(pc, pcrule, n - 1);
246 char *pc = "var/sadm/install/special_contents";
259 if (snprintf(path, PATH_MAX, "%s%s", pcroot, pc) >= PATH_MAX) {
264 if (snprintf(path, PATH_MAX, "%s/%s", pcroot, pc)
354 char *pc = NULL;
355 if (i <= 1 || (pc = (char *) calloc(i + 1, 1)) == NULL)
357 (void) memcpy(pc, pcline, i);
358 return (pc);
434 pathcmp(const char *pc, const struct cfent *pent)
440 if ((p = strstr(pc, "=")) == NULL) {
442 i = strcmp(pc, pent->path);
453 i = strcmp(pc, pent->path);
465 i = strcmp(pc, pent->path);