try 'write' that works on mac, but I didn't know if it works on windows
This commit is contained in:
parent
1a37c63abe
commit
236b5f2c5c
2 changed files with 8 additions and 18 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue