summaryrefslogtreecommitdiff
path: root/exercises/093_hello_c.zig
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2023-02-19 18:18:22 +0100
committerGitHub <noreply@github.com>2023-02-19 18:18:22 +0100
commitf9b3d5082435dff928647c3e42d0a85ac1159aee (patch)
tree25c5cb7c3f55b462719dcefe532cb5a8a7d5f839 /exercises/093_hello_c.zig
parentb2de68869ed16a607c00a31d4ea9f140f8a0089e (diff)
parent1d10a062e22858d187d053853b9fa82cda1a8cdc (diff)
Merge pull request #189 from chrboesch/dev1650
check for dev1650 and some minor polish
Diffstat (limited to 'exercises/093_hello_c.zig')
-rw-r--r--exercises/093_hello_c.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/exercises/093_hello_c.zig b/exercises/093_hello_c.zig
index 80b1cb7..f5ff831 100644
--- a/exercises/093_hello_c.zig
+++ b/exercises/093_hello_c.zig
@@ -53,8 +53,8 @@ pub fn main() void {
// specify a file descriptor i.e. 2 for error console.
//
// In this exercise we use 'write' to output 17 chars,
- // but something is missing...
- const c_res = ???write(2, "Hello C from Zig!", 17);
+ // but something is still missing...
+ 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});