Home
last modified time | relevance | path

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

/external/gflags/src/
Dwindows_port.h92 const size_t nameval_len = strlen(name) + 1 + strlen(value) + 1; in setenv() local
93 char* nameval = reinterpret_cast<char*>(malloc(nameval_len)); in setenv()
94 snprintf(nameval, nameval_len, "%s=%s", name, value); in setenv()
97 nameval[nameval_len - 2] = '\0'; // works when putenv() makes no copy in setenv()