mclangc/include/linux/io.mcl
2024-03-23 03:58:42 +02:00

14 lines
217 B
Plaintext

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