summaryrefslogtreecommitdiff
path: root/userspace/simple.c
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-09-21 12:56:51 +0200
committerMiguel <m.i@gmx.at>2018-09-21 12:56:51 +0200
commitc298ca7e6beaad0bcc32af6d4cf50d41b79f13b7 (patch)
treeb28e9c052cff3264439cad3c41b29262c60ba6ac /userspace/simple.c
parentf5281689c95758f17628f0286e0265ecf3385a8e (diff)
fix framebufffer/ textmode and clean userspace a little bit more
Diffstat (limited to 'userspace/simple.c')
-rw-r--r--userspace/simple.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/userspace/simple.c b/userspace/simple.c
deleted file mode 100644
index 0a04791..0000000
--- a/userspace/simple.c
+++ /dev/null
@@ -1,31 +0,0 @@
-#include <stdlib.h>
-
-extern char **environ;
-
-int main(int argc, char **argv)
-{
-
- printf("argv: 0x%08X\n",argv);
- printf("env: 0x%08X\n",environ);
-
- int i=0;
- while(environ[i]!=NULL)
- {
- printf("envvar %s (0x%08X)\n" ,environ[i],environ[i]);
- i++;
- }
-
- putenv("supa=dupa");
- printf("env: 0x%08X\n",environ);
-
- i=0;
- while(environ[i]!=NULL)
- {
- printf("envvar %s (0x%08X)\n" ,environ[i],environ[i]);
- i++;
- }
-
- return 0;
-}
-
-