aboutsummaryrefslogtreecommitdiff
path: root/arch/platform/darwin/bits/stdio.elna
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2026-11-13 12:01:17 +0100
committerEugen Wissner <belka@caraus.de>2026-11-13 13:15:30 +0100
commit7ab6e1021611cc6913ee4ab5faf1b31f928a65e9 (patch)
treeb6e650890682831503c73608ac7fd370d2847d8a /arch/platform/darwin/bits/stdio.elna
parent0b5bd8114255e04dae27a7528a3111d6923e5fbe (diff)
downloadelna-7ab6e1021611cc6913ee4ab5faf1b31f928a65e9.tar.gz
Create parser stubs
Diffstat (limited to 'arch/platform/darwin/bits/stdio.elna')
-rw-r--r--arch/platform/darwin/bits/stdio.elna21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/platform/darwin/bits/stdio.elna b/arch/platform/darwin/bits/stdio.elna
new file mode 100644
index 0000000..0a173fe
--- /dev/null
+++ b/arch/platform/darwin/bits/stdio.elna
@@ -0,0 +1,21 @@
+(* This Source Code Form is subject to the terms of the Mozilla Public License,
+ v. 2.0. If a copy of the MPL was not distributed with this file, You can
+ obtain one at https://mozilla.org/MPL/2.0/. *)
+module
+
+type
+ FILE* = extern
+
+var
+ __stdinp, __stdoutp, __stderrp: ^FILE := extern
+
+proc stdin_*() -> ^FILE
+return __stdinp
+
+proc stdout_*() -> ^FILE
+return __stdoutp
+
+proc stderr_*() -> ^FILE
+return __stderrp
+
+end.