From 84f4b4a9c7a780859e21d6f04e1152ae66fb30e9 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Sun, 19 Feb 2023 00:00:08 +0100 Subject: small improvements in hello_c --- exercises/093_hello_c.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exercises/093_hello_c.zig') 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}); -- cgit v1.2.3-70-g09d2