const Id: type = switch (builtin.os.tag) {
        .windows => windows.HANDLE,
        .wasi => void,
        else => os.pid_t,
    };