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

Tracking Issue for #![feature(unix_file_vectored_at)] #89517

Open
1 of 3 tasks
a1phyr opened this issue Oct 4, 2021 · 0 comments
Open
1 of 3 tasks

Tracking Issue for #![feature(unix_file_vectored_at)] #89517

a1phyr opened this issue Oct 4, 2021 · 0 comments
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.

Comments

@a1phyr
Copy link
Contributor

a1phyr commented Oct 4, 2021

Feature gate: #![feature(unix_file_vectored_at)]

This is a tracking issue for positioned vectored I/O on Unix platforms.

Public API

trait std::os::unix::fs::FileExt {
    // Existing methods: `read_at`, `read_exact_at`, `write_at`, `write_all_at`

    fn read_vectored_at(&self, bufs: &mut [io::IoSliceMut<'_>], offset: u64) -> io::Result<usize>;
    fn write_vectored_at(&self, bufs: &[io::IoSlice<'_>], offset: u64) -> io::Result<usize>;
}

Steps / History

@a1phyr a1phyr added C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. labels Oct 4, 2021
@a1phyr a1phyr changed the title Tracking Issue for XXX Tracking Issue for #![feature(unix_file_vectored_at)] Oct 4, 2021
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Oct 11, 2021
…htriplett

Add vectored positioned I/O on Unix

Add methods for vectored I/O with an offset on `File` for `unix` under `#![feature(unix_file_vectored_at)]`.

The new methods are wrappers around `preadv` and `pwritev`.

Tracking issue: rust-lang#89517
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Feb 28, 2023
…kingjubilee

Add vectored positioned I/O on Unix

Add methods for vectored I/O with an offset on `File` for `unix` under `#![feature(unix_file_vectored_at)]`.

The new methods are wrappers around `preadv` and `pwritev`.

Tracking issue: rust-lang#89517
Dylan-DPC added a commit to Dylan-DPC/rust that referenced this issue Feb 28, 2023
…kingjubilee

Add vectored positioned I/O on Unix

Add methods for vectored I/O with an offset on `File` for `unix` under `#![feature(unix_file_vectored_at)]`.

The new methods are wrappers around `preadv` and `pwritev`.

Tracking issue: rust-lang#89517
bors added a commit to rust-lang-ci/rust that referenced this issue Mar 4, 2023
…ngjubilee

Add vectored positioned I/O on Unix

Add methods for vectored I/O with an offset on `File` for `unix` under `#![feature(unix_file_vectored_at)]`.

The new methods are wrappers around `preadv` and `pwritev`.

Tracking issue: rust-lang#89517
workingjubilee added a commit to workingjubilee/rustc that referenced this issue Mar 26, 2024
…kingjubilee

Unix: Support more platforms with `preadv` and `pwritev`

- `aix`, `dragonfly` and `openbsd` with direct call
- `watchos` with weak linkage

cc rust-lang#89517
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this issue Mar 27, 2024
…kingjubilee

Unix: Support more platforms with `preadv` and `pwritev`

- `aix`, `dragonfly` and `openbsd` with direct call
- `watchos` with weak linkage

cc rust-lang#89517
rust-timer added a commit to rust-lang-ci/rust that referenced this issue Mar 27, 2024
Rollup merge of rust-lang#122880 - a1phyr:preadv_more_platform, r=workingjubilee

Unix: Support more platforms with `preadv` and `pwritev`

- `aix`, `dragonfly` and `openbsd` with direct call
- `watchos` with weak linkage

cc rust-lang#89517
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tracking-issue Category: A tracking issue for an RFC or an unstable feature. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

1 participant