clearenv - clear the environment
#include <stdlib.h>
clearenv();
Clears all environment variables and sets the external variable environ to NULL.
The clearenv() function returns zero.
#include <stdlib.h>
int main()
{
clearenv();
putenv("PATH=/bin");
return 0;
}