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