From ba755badb5732c13ce463e754086e5f2fa83e24c Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Mon, 5 Oct 2015 10:10:45 +0200 Subject: [PATCH] extend example to test the I/O interface --- hermit/usr/examples/hello.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/hermit/usr/examples/hello.c b/hermit/usr/examples/hello.c index c20694fa4..8a2b245b6 100644 --- a/hermit/usr/examples/hello.c +++ b/hermit/usr/examples/hello.c @@ -31,9 +31,12 @@ #include #include +#define N 255 + int main(int argc, char** argv) { - int i; + int i, random; + FILE* file; printf("Hello World!!!\n"); for(i=0; environ[i]; i++) @@ -41,5 +44,15 @@ int main(int argc, char** argv) for(i=0; i