pub fn fd_alloc(host_fd: RawFd) -> Option<i32>Expand description
Allocates a guest FD slot for host_fd (lock-free CAS scan).
New slots start with guest-blocking semantics (O_NONBLOCK clear). Call
fd_set_guest_nonblock for sockets / after fcntl(F_SETFL).