#include <stdio.h>
#include <stdlib.h>

extern char **environ;

int main(int argc, char const* argv[])
{
    char **e = environ;
    while ( *e != NULL ){
        printf("%s\n", (*e));
        e += 1;
    }
    return 1;
}