minix/commands/simple/printenv.c
2005-06-27 09:41:58 +00:00

12 lines
162 B
C

#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;
}