mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-10 17:09:59 +00:00
check for dev1650 and some minor polish
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user