Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MsgHdrMut::control_len to get how much of control buffer was filled. #505

Merged

Conversation

tobz
Copy link
Contributor

@tobz tobz commented Apr 15, 2024

As stated in the title, this exposes the underlying msg_controllen/Control.len field for MsgHdrMut, which is necessary to figure out how many bytes, if any, were filled in the control buffer.

@Thomasdezeeuw Thomasdezeeuw merged commit 21ba660 into rust-lang:master Apr 16, 2024
41 checks passed
@Thomasdezeeuw
Copy link
Collaborator

Thanks @tobz

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.

None yet

2 participants