Lines Matching refs:pager_vector
237 ">>>pager_vector[%d] = `%s'\n",
239 pager_vector[index] ?
240 pager_vector[index] : "(null)");
771 execvp(pager_vector[0], pager_vector);
909 * Set up pager_catenated and pager_vector.
933 pager_vector = (char **)malloc(sizeof (char *));
934 if (pager_vector == NULL) {
946 * Resets pager_catenated and pager_vector from user input.
967 for (index = 0; pager_vector[index] != (char *)NULL; index += 1)
968 free(pager_vector[index]);
969 free(pager_vector);
973 pager_vector = (char **)malloc(2 * sizeof (char *));
974 if (pager_vector == NULL) {
980 pager_vector[0] = strdup(input);
981 if (pager_vector[0] == NULL) {
987 catenate_length = setpagerargs(&nextarg) + strlen(pager_vector[0]) + 1;
994 for (index = 0; pager_vector[index] != (char *)NULL; index += 1) {
997 (void) strcat(pager_catenated, pager_vector[index]);
1017 pager_vector = (char **)realloc(pager_vector,
1019 if (pager_vector == (char **)NULL) {
1023 pager_vector[pager_len - 1] = strdup(word);
1024 if (pager_vector[pager_len - 1] == (char *)NULL) {
1031 pager_vector[pager_len - 1] = (char *)NULL;