summaryrefslogtreecommitdiff
path: root/src/env/clearenv.c
blob: a2475ce76cef3be53299676568fb6f414d4a1a03 (plain) (blame)
1
2
3
4
5
6
7
8
9
#include <stdlib.h>

extern char **__environ;

int clearenv()
{
	__environ[0] = 0;
	return 0;
}