#include extern char** environ; int main() { char** env = environ; while (*env) { puts(*(env++)); } }