Use write syscalls to write to the terminal.