Lines Matching refs:pathptr
689 char *pathptr;
700 pathptr = &pathbuf[sizeof (pathbuf) - 1];
701 *pathptr = '\0';
705 * path inside pathbuf, using pathptr and decrementing
719 *pathptr = '\0';
736 *pathptr = '\0';
742 * the default short name and nullify pathptr; also, since
746 pathptr -= seplen;
747 if (pathptr < pathbuf) {
748 pathptr = pathbuf;
749 *pathptr = '\0';
752 (void) memcpy(pathptr, AP_PATH_SEP, seplen);
755 pathptr -= len;
756 if (pathptr < pathbuf) {
757 pathptr = pathbuf;
758 *pathptr = '\0';
761 (void) memcpy(pathptr, buf, len);
765 pathend = pathptr;
783 *pathptr = '\0';
789 if (strlen(pathptr) < ap_pathsz) {
790 (void) strlcpy(ap_path, pathptr, ap_pathsz);
820 *pathptr = '\0';
848 *pathret = (*pathptr == '\0') ? NULL : strdup(pathptr);