Home
last modified time | relevance | path

Searched refs:envptr (Results 1 – 3 of 3) sorted by relevance

/haiku/src/bin/unzip/
H A Denvargs.c54 char *envptr; /* value returned by getenv */ local
62 if ((envptr = getenv(envstr)) != (char *)NULL) /* usual var */
63 while (ISspace(*envptr)) /* must discard leading spaces */
64 envptr++;
65 if (envptr == (char *)NULL || *envptr == '\0')
66 if ((envptr = getenv(envstr2)) != (char *)NULL) /* alternate var */
67 while (ISspace(*envptr))
68 envptr++;
69 if (envptr == (char *)NULL || *envptr == '\0')
72 bufptr = malloc(1 + strlen(envptr));
[all …]
H A Dunzip.c1718 char *envptr, *getenv(); in show_version_info() local
1923 envptr = getenv(LoadFarStringSmall(EnvUnZip)); in show_version_info()
1926 (envptr == (char *)NULL || *envptr == 0)? in show_version_info()
1927 LoadFarStringSmall2(None) : envptr)); in show_version_info()
1928 envptr = getenv(LoadFarStringSmall(EnvUnZip2)); in show_version_info()
1931 (envptr == (char *)NULL || *envptr == 0)? in show_version_info()
1932 LoadFarStringSmall2(None) : envptr)); in show_version_info()
1933 envptr = getenv(LoadFarStringSmall(EnvZipInfo)); in show_version_info()
1936 (envptr == (char *)NULL || *envptr == 0)? in show_version_info()
1937 LoadFarStringSmall2(None) : envptr)); in show_version_info()
[all …]
H A Dttyio.c398 char *envptr, *getenv(); local
406 envptr = getenv("LINES");
407 if (envptr == (char *)NULL || (n = atoi(envptr)) < 5) {
416 envptr = getenv("COLUMNS");
417 if (envptr == (char *)NULL || (n = atoi(envptr)) < 5) {