Luna/apps/env.cpp

10 lines
122 B
C++
Raw Normal View History

#include <stdio.h>
extern char** environ;
int main()
{
char** env = environ;
while (*env) { puts(*(env++)); }
}