source:
trunk/minix/commands/simple/printenv.c@
15
| Last change on this file since 15 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 162 bytes | |
| Line | |
|---|---|
| 1 | |
| 2 | #include <stdio.h> |
| 3 | |
| 4 | int 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.