MCPcopy Create free account
hub / github.com/bytecodealliance/system-interface / reopen_write

Function reopen_write

src/fs/file_io_ext.rs:1017–1020  ·  view source on GitHub ↗
(filelike: &Filelike)

Source from the content-addressed store, hash-verified

1015#[cfg(windows)]
1016#[inline]
1017fn reopen_write<Filelike: AsFilelike>(filelike: &Filelike) -> io::Result<fs::File> {
1018 let file = filelike.as_filelike_view::<std::fs::File>();
1019 unsafe { _reopen_write(&file) }
1020}
1021
1022#[cfg(windows)]
1023unsafe fn _reopen_write(file: &fs::File) -> io::Result<fs::File> {

Callers 2

write_atMethod · 0.85
write_all_atMethod · 0.85

Calls 1

_reopen_writeFunction · 0.85

Tested by

no test coverage detected