summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorglenda <glenda@cirno>2022-09-18 14:55:48 +0000
committerglenda <glenda@cirno>2022-09-18 14:55:48 +0000
commit269c81f0217999367b4180e6a795142cbb2d02e7 (patch)
tree5b9299a3a7a2304ebc4259c1570c378e17f1e28f /main.c
parent6430127cc4503e2e7e40f86ccc68594ced055274 (diff)
Implement remote message passing via pipes!
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index 3da4841..d921810 100644
--- a/main.c
+++ b/main.c
@@ -9,6 +9,7 @@ Biobuf *stdin;
static int booted = 0;
static Rune *startfile = L"/sys/lib/apl/runtime/start.apl";
static Rune *stdlibfile = L"/sys/lib/apl/runtime/stdlib.apl";
+static Rune *remotefile = L"/sys/lib/apl/runtime/remote.apl";
void
main(int argc, char *argv[])
@@ -43,6 +44,7 @@ restart:
if(!booted){
booted = 1;
runfile(mkrunearray(stdlibfile));
+ runfile(mkrunearray(remotefile));
runfile(mkrunearray(startfile));
}