aboutsummaryrefslogtreecommitdiff
path: root/apps/init/init.c
diff options
context:
space:
mode:
authorMarvin Borner2021-04-05 19:37:28 +0200
committerMarvin Borner2021-04-05 19:37:28 +0200
commitccc1dd7b4ba8ad5efe51aac32b26f0859d93fbe5 (patch)
treedf0e8330b14cea9ed0dd6546f69be24996f52a80 /apps/init/init.c
parent1f957aafa4423c1579627a279d861d03d76f3dbb (diff)
Restructured make layout and cleaned some apps
Diffstat (limited to 'apps/init/init.c')
-rw-r--r--apps/init/init.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/apps/init/init.c b/apps/init/init.c
new file mode 100644
index 0000000..a7d07df
--- /dev/null
+++ b/apps/init/init.c
@@ -0,0 +1,16 @@
+// MIT License, Copyright (c) 2020 Marvin Borner
+
+#include <assert.h>
+#include <def.h>
+#include <sys.h>
+
+int main(int argc, char **argv)
+{
+ UNUSED(argc);
+ UNUSED(argv);
+
+ assert(exec("/bin/wm", "wm", NULL) == EOK);
+ /* assert(exec("/bin/chess", "chess", NULL) == EOK); */
+
+ return 0;
+}