setenv

Name

setenv -- change or add an environment variable

Synopsis

#include <stdlib.h>

int setenv(const char *name, const char *value, int overwrite);

Description

setenv is as specified in the Single UNIX Specification, Version 3.