mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-10 17:09:59 +00:00
try 'write' that works on mac, but I didn't know if it works on windows
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
63c63
|
||||
< const c_res = fprintf(stderr, "Hello C from Zig!");
|
||||
57c57
|
||||
< const c_res = write(2, "Hello C from Zig!", 17);
|
||||
---
|
||||
> const c_res = c.fprintf(stderr, "Hello C from Zig!");
|
||||
> const c_res = c.write(2, "Hello C from Zig!", 17);
|
||||
|
||||
Reference in New Issue
Block a user