Just a remark
I tested with 0.10.0 or 0.11.0 dev 945
I have a problem with
tty = try fs.cwd().openFile("/dev/tty", .{ .read = true, .write = true });
and I returned:
tty = fs.cwd().openFile("/dev/tty", .{ .mode = .read_write}) catch unreachable;
I agree! For some reason, this program outright doesn't work at all on my machine. Was this article based on some older version of Zig? (I use Zig 0.14)
Thank you
Just a remark
I tested with 0.10.0 or 0.11.0 dev 945
I have a problem with
tty = try fs.cwd().openFile("/dev/tty", .{ .read = true, .write = true });
and I returned:
tty = fs.cwd().openFile("/dev/tty", .{ .mode = .read_write}) catch unreachable;
i work with linux
I agree! For some reason, this program outright doesn't work at all on my machine. Was this article based on some older version of Zig? (I use Zig 0.14)
exemple: ok for 0.13.0 or 0.14. dev