Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 Rust 中使用函数“ioctl”?我应该在某个地方找到它的包装吗?有事实上的包装吗?或者它可能已经包含在标准的 Rust 库中?不过,我还没有找到。
或者,更一般地说,我需要一个 Linux“tun”驱动程序的接口。
您可以在 中找到ioctl,nix其中包含 *nix 功能的便捷包装。
ioctl
nix