diff options
author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-02-19 00:00:08 +0100 |
---|---|---|
committer | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-02-19 00:00:08 +0100 |
commit | 84f4b4a9c7a780859e21d6f04e1152ae66fb30e9 (patch) | |
tree | a0b5874ccb759581a769e30ff83fedfaa87c5d5c /exercises | |
parent | 23f2cc88d268ecc1ed0cd5f70a315b02f94ff21b (diff) |
small improvements in hello_c
Diffstat (limited to 'exercises')
-rw-r--r-- | exercises/093_hello_c.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/093_hello_c.zig b/exercises/093_hello_c.zig index 368a918..80b1cb7 100644 --- a/exercises/093_hello_c.zig +++ b/exercises/093_hello_c.zig @@ -54,7 +54,7 @@ pub fn main() void { // // In this exercise we use 'write' to output 17 chars, // but something is missing... - const c_res = write(2, "Hello C from Zig!", 17); + const c_res = ???write(2, "Hello C from Zig!", 17); // let's see what the result from C is: std.debug.print(" - C result ist {d} chars written.\n", .{c_res}); |