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 sendfile64 #1439

Merged
merged 3 commits into from
May 30, 2021
Merged

Add sendfile64 #1439

merged 3 commits into from
May 30, 2021

Conversation

tdryer
Copy link
Contributor

@tdryer tdryer commented May 28, 2021

sendfile64 is a Linux-specific call with a wider type for the offset argument than sendfile.

This is largely a copy of the existing sendfile function and associated test.

tdryer added 3 commits May 28, 2021 15:01
`sendfile64` is a Linux-specific call with a wider type for the `offset`
argument than `sendfile`.

This is largely a copy of the existing `sendfile` function and
associated test.
It's not available from libc on that platform.
Copy link
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

bors r+

bors bot added a commit that referenced this pull request May 30, 2021
1439: Add sendfile64 r=asomers a=tdryer

`sendfile64` is a Linux-specific call with a wider type for the `offset` argument than `sendfile`.

This is largely a copy of the existing `sendfile` function and associated test.

Co-authored-by: Tom Dryer <tomdryer.com@gmail.com>
@bors
Copy link
Contributor

bors bot commented May 30, 2021

Build failed:

@asomers
Copy link
Member

asomers commented May 30, 2021

bors retry

@bors bors bot merged commit df9ed93 into nix-rust:master May 30, 2021
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