Compare commits

...

2 Commits

Author SHA1 Message Date
44bd93b8b4 apps: Add a hello app 2022-10-19 21:13:47 +02:00
f682258fc9 sym: do not sleep 2022-10-19 21:13:38 +02:00
3 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,4 @@
APPS := init sym sh crash uname uptime
APPS := init sym sh crash uname uptime hello
APPS_DIR := $(LUNA_ROOT)/apps
APPS_SRC := $(APPS_DIR)/src

6
apps/src/hello.c Normal file
View File

@ -0,0 +1,6 @@
#include <stdio.h>
int main()
{
puts("Hello, world!");
}

View File

@ -4,8 +4,6 @@
int main()
{
sleep(2);
FILE* syms = fopen("/sys/moon.sym", "r");
if (!syms)
{