Compare commits

..

No commits in common. "44bd93b8b4ac9690a4d5afc04605c87f0c56d184" and "2c813f5901329d2fabaed52a774cbf94fcc5a561" have entirely different histories.

3 changed files with 3 additions and 7 deletions

View File

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

View File

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

View File

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