From 7ab6e1021611cc6913ee4ab5faf1b31f928a65e9 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Fri, 13 Nov 2026 12:01:17 +0100 Subject: Create parser stubs --- arch/platform/linux/bits/stdio.elna | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 arch/platform/linux/bits/stdio.elna (limited to 'arch/platform/linux/bits/stdio.elna') diff --git a/arch/platform/linux/bits/stdio.elna b/arch/platform/linux/bits/stdio.elna new file mode 100644 index 0000000..791ced8 --- /dev/null +++ b/arch/platform/linux/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 + stdin, stdout, stderr: ^FILE := extern + +proc stdin_*() -> ^FILE +return stdin + +proc stdout_*() -> ^FILE +return stdout + +proc stderr_*() -> ^FILE +return stderr + +end. -- cgit v1.2.3