function
file_stdout
file_stdout() -> pointer
Returns the handle for the standard-output stream, which you pass to file_write to emit raw bytes. Unlike print, which always appends a newline and handles conversion, writing through this handle gives you exact control over what bytes go out and when — useful for tooling and code generators that must emit precise text. It takes no arguments and always refers to the process's standard output. Pair it with file_stderr when you want to separate normal output from diagnostics.
Example
program WriteLine {
handler Emit phase Start {
let out = file_stdout()
let message = "built\n"
file_write(out, message, len(message))
}
}