Share this page

# putenv

Example: putenv | Process Control Functions

Inserts a new definition into an environment table.

    int putenv( const char *envstring);

envstring | A string containing the name of the variable, an equal sign (=) and the value for the environment variable: `varname=`value

## Return Values

0 if successful and -1 in case of error.

For putenv details, refer to your C language documentation.

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: