summaryrefslogblamecommitdiff
path: root/src/env/clearenv.c
blob: 62d50952dabffc7a8931266cc3fb56f6e4b25cfd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                   








                         
#define _GNU_SOURCE
#include <stdlib.h>

extern char **__environ;

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