summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/std/fopen.luma1
-rw-r--r--stdlib/std/fwrite.luma1
-rw-r--r--stdlib/std/msgfout.luma2
3 files changed, 4 insertions, 0 deletions
diff --git a/stdlib/std/fopen.luma b/stdlib/std/fopen.luma
new file mode 100644
index 0000000..18079c6
--- /dev/null
+++ b/stdlib/std/fopen.luma
@@ -0,0 +1 @@
+def fn /std/file_t [/std/str_t | /std/fmode_t] fopen
diff --git a/stdlib/std/fwrite.luma b/stdlib/std/fwrite.luma
new file mode 100644
index 0000000..53df1ec
--- /dev/null
+++ b/stdlib/std/fwrite.luma
@@ -0,0 +1 @@
+def fn /std/void_t [/std/file_t | /std/str_t] fwrite
diff --git a/stdlib/std/msgfout.luma b/stdlib/std/msgfout.luma
new file mode 100644
index 0000000..7491677
--- /dev/null
+++ b/stdlib/std/msgfout.luma
@@ -0,0 +1,2 @@
+def fn /std/void_t [/str_t msg] /std/msgfout
+ call /std/fopen []