Lines Matching refs:envptr
811 char *envptr; /* value returned by getenv */
819 envptr = getenv(envstr);
820 if (envptr != NULL) /* usual var */
821 while (isspace((uch)*envptr)) /* we must discard leading spaces */
822 envptr++;
823 if (envptr == NULL || *envptr == '\0')
824 if ((envptr = getenv(envstr2)) != NULL) /* alternate */
825 while (isspace((uch)*envptr))
826 envptr++;
827 if (envptr == NULL || *envptr == '\0')
831 argc = count_args(envptr);
832 bufptr = malloc(1 + strlen(envptr));
835 strcpy(bufptr, envptr);