From 8ad708cc9dcc739171775320dccad659e8ed1842 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sat, 12 Sep 2015 17:03:45 +0200 Subject: [PATCH] extend demo to print the environment and all program arguments --- hermit/usr/examples/hello.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hermit/usr/examples/hello.c b/hermit/usr/examples/hello.c index 6789e4e0b..c20694fa4 100644 --- a/hermit/usr/examples/hello.c +++ b/hermit/usr/examples/hello.c @@ -36,10 +36,10 @@ int main(int argc, char** argv) int i; printf("Hello World!!!\n"); - //for(i=0; environ[i]; i++) - // printf("environ[%d] = %s\n", i, environ[i]); - //for(i=0; i