source: trunk/minix/commands/simple/printenv.c@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 162 bytes
RevLine 
[9]1
2#include <stdio.h>
3
4int main(int argc, char *argv[], char *envp[])
5{
6 int p;
7 for(p = 0; envp[p] && *envp[p]; p++) {
8 printf("%s\n", envp[p]);
9 }
10 return 0;
11}
12
Note: See TracBrowser for help on using the repository browser.