mclangc/include/linux/io.mcl

14 lines
217 B
Plaintext
Raw Permalink Normal View History

2024-03-23 01:58:42 +00:00
fn fwrite with u64 ptr u64 returns u64 then
SYS_write syscall3
done
fn puts with u64 ptr u64 returns u64 then
STDOUT fwrite drop
done
fn eputs with u64 ptr u64 returns u64 then
STDERR fwrite drop
done