This commit is contained in:
nub31
2025-01-26 20:22:22 +01:00
parent 59effadc19
commit 84b3636e75
6 changed files with 54 additions and 5 deletions

View File

@@ -7,6 +7,6 @@ func main() {
write("test\n");
}
func write(msg: pointer) {
syscall(SYS_WRITE, STD_OUT, msg, 5);
func write(msg: String) {
syscall(SYS_WRITE, STD_OUT, msg, strlen(msg));
}