15 lines
286 B
Zig
15 lines
286 B
Zig
const std = @import("std");
|
|
|
|
pub const IPs = struct {
|
|
v4: [:0]const u8,
|
|
v6: [:0]const u8,
|
|
};
|
|
|
|
pub fn check_perms() !void {
|
|
var f = try std.fs.openFileAbsolute("/etc/hosts", .{ .mode = .write_only });
|
|
f.close();
|
|
}
|
|
|
|
pub fn get_input() ![:0]const u8 {
|
|
return "stub";
|
|
}
|