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

Function unmount

src/mount/mount_unmount.rs:181–183  ·  view source on GitHub ↗
(target: Target, flags: UnmountFlags)

Source from the content-addressed store, hash-verified

179#[inline]
180#[doc(alias = "umount", alias = "umount2")]
181pub fn unmount<Target: path::Arg>(target: Target, flags: UnmountFlags) -> io::Result<()> {
182 target.into_with_c_str(|target| backend::mount::syscalls::unmount(target, flags))
183}

Callers

nothing calls this directly

Calls 1

into_with_c_strMethod · 0.80

Tested by

no test coverage detected