Lines Matching refs:env
109 char *env;
111 env = curlx_getenv("CURL_MEMDEBUG");
112 if(env) {
115 if(strlen(env) >= CURL_MT_LOGFNAME_BUFSIZE)
116 env[CURL_MT_LOGFNAME_BUFSIZE-1] = '\0';
117 strcpy(fname, env);
118 curl_free(env);
125 env = curlx_getenv("CURL_MEMLIMIT");
126 if(env) {
128 long num = strtol(env, &endptr, 10);
129 if((endptr != env) && (endptr == env + strlen(env)) && (num > 0))
131 curl_free(env);