1#define _GNU_SOURCE
2#include <stdlib.h>
3
4extern char **__environ;
5
6int clearenv()
7{
8	__environ[0] = 0;
9	return 0;
10}
11