diff options
Diffstat (limited to 'arch/platform/linux/bits/stdio.elna')
| -rw-r--r-- | arch/platform/linux/bits/stdio.elna | 21 |
1 files changed, 21 insertions, 0 deletions
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. |
