Obsolete
/
libipc-old
Archived
3
0
Fork 0
This repository has been archived on 2024-06-18. You can view files and clone it, but cannot push or open issues/pull-requests.
libipc-old/zig-impl/other/double-close.zig

12 lines
248 B
Zig

const std = @import("std");
const print = std.debug.print;
pub fn main() !u8 {
print("First close!\n", .{});
std.os.close(1);
print("SECOND close!\n", .{});
std.os.close(1);
print("Will it be printed?\n", .{});
return 0;
}