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("PATH=/bin");
putenv
return 0;
}