minix/commands/simple/printenv.c

13 lines
162 B
C
Raw Normal View History

2005-06-27 11:41:58 +02:00
#include <stdio.h>
int main(int argc, char *argv[], char *envp[])
{
int p;
for(p = 0; envp[p] && *envp[p]; p++) {
printf("%s\n", envp[p]);
}
return 0;
}