@StructuredUserop
		@EmuSyscall("console")
		public void demo_console(@Param(type = "char *") Var str) {
			// Measure the string's length and then invoke write
			Var end = local("end", type("char *"));
			_for(end.set(str), end.deref().neq(0), end.inc(), () -> {
			});
			write.call(str, end);
		}
Write a C-style string to the console

@param str the null-terminated utf-8 string
Ghidra/Features/SystemEmulation/ghidra_scripts/DemoSyscallLibrary.java