34
unsetenv (const char *name)
34
unsetenv(const char *name)
36
const size_t len = strlen (name);
39
for (ep = __environ; *ep; ++ep) {
40
if (!strncmp (*ep, name, len) && (*ep)[len] == '=') {
42
/* Remove this pointer by moving later ones back. */
47
/* Continue the loop in case NAME appears again. */
36
const size_t len = strlen(name);
39
for (ep = __environ; *ep; ++ep) {
40
if (!strncmp(*ep, name, len) && (*ep)[len] == '=') {
42
/* Remove this pointer by moving later ones back. */
48
/* Continue the loop in case NAME appears again. */