Searched refs:newvar (Results 1 – 1 of 1) sorted by relevance
1026 char* newvar = NULL; in addnewvar() local1032 newvar = m_malloc(plen + vlen + 2); /* 2 is for '=' and '\0' */ in addnewvar()1033 memcpy(newvar, param, plen); in addnewvar()1034 newvar[plen] = '='; in addnewvar()1035 memcpy(&newvar[plen+1], var, vlen); in addnewvar()1036 newvar[plen+vlen+1] = '\0'; in addnewvar()1038 if (putenv(newvar) < 0) { in addnewvar()