Chris Boesch 2 лет назад
Родитель
Сommit
84f4b4a9c7
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      exercises/093_hello_c.zig
  2. 1 1
      patches/patches/093_hello_c.patch

+ 1 - 1
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});

+ 1 - 1
patches/patches/093_hello_c.patch

@@ -1,4 +1,4 @@
 57c57
-<     const c_res = write(2, "Hello C from Zig!", 17);
+<     const c_res = ???write(2, "Hello C from Zig!", 17);
 ---
 >     const c_res = c.write(2, "Hello C from Zig!", 17);