_putenv()

Enters an item into the environment list.

  #include <stdlib.h>
  
  char *_putenv(const char *name);    
Parameter

name

A pointer to the item to add to the list.

Remarks

The function putenv() returns NULL on success or minus one on failure to enter the environmental variable.

This function is not specified in the ISO/IEC standards. It is an extension of the standard library.