MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / fsopen

Function fsopen

src/mount/fsopen.rs:16–18  ·  view source on GitHub ↗
(fs_name: Fs, flags: FsOpenFlags)

Source from the content-addressed store, hash-verified

14/// [Unfinished draft]: https://github.com/sunfishcode/linux-mount-api-documentation/blob/main/fsopen.md
15#[inline]
16pub fn fsopen<Fs: path::Arg>(fs_name: Fs, flags: FsOpenFlags) -> io::Result<OwnedFd> {
17 fs_name.into_with_c_str(|fs_name| backend::mount::syscalls::fsopen(fs_name, flags))
18}
19
20/// `fsmount(fs_fd, flags, attr_flags)`
21///

Callers

nothing calls this directly

Calls 1

into_with_c_strMethod · 0.80

Tested by

no test coverage detected