Skip to content

Add select and poll safe rules - #282

Merged
nunoplopes merged 6 commits into
Cpp2Rust:masterfrom
lucic71:select-poll
Jul 23, 2026
Merged

Add select and poll safe rules#282
nunoplopes merged 6 commits into
Cpp2Rust:masterfrom
lucic71:select-poll

Conversation

@lucic71

@lucic71 lucic71 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

This also adds FdRegistry::with_fds which receives multiple raw file descriptors (i32) and applies function f on the BorrowedFd's derived from the raw file descriptors. The single-fd variant of with_fds is the already existing with_fd

lucic71 added 3 commits July 23, 2026 14:43
explicit 0 creates a diff between macos and linux because on macos the
type of tv_usec is different.
This makes the output on macos and linux be the same
@nunoplopes
nunoplopes merged commit fc5fe57 into Cpp2Rust:master Jul 23, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants