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 writev for files/streams #272

Open
rennergade opened this issue Jun 21, 2024 · 0 comments
Open

Add writev for files/streams #272

rennergade opened this issue Jun 21, 2024 · 0 comments
Assignees

Comments

@rennergade
Copy link
Contributor

We need to add functionality for writev for files and streams. It seems to have broken bash by not supporting it. Should be somewhat straightforward.

Streams:

We should be able to just turn the vector pointers into slices using from_raw_parts and then concatenate them, the we can just call log_to_stdout

File:
We should probably turn the iovecs into IOSlices that way we should be able to pass them to the Rust file API's write_vectored function.

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

No branches or pull requests

2 participants