We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39c4daa commit 22a6797Copy full SHA for 22a6797
std/src/sys/pal/unix/fd.rs
@@ -120,6 +120,7 @@ impl FileDesc {
120
(&mut me).read_to_end(buf)
121
}
122
123
+ #[cfg_attr(target_os = "vxworks", allow(unused_unsafe))]
124
pub fn read_at(&self, buf: &mut [u8], offset: u64) -> io::Result<usize> {
125
#[cfg(not(any(
126
all(target_os = "linux", not(target_env = "musl")),
@@ -313,6 +314,7 @@ impl FileDesc {
313
314
cfg!(not(any(target_os = "espidf", target_os = "horizon", target_os = "vita")))
315
316
317
318
pub fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> {
319
320
0 commit comments