Lines Matching refs:nmount
16 /// Used with [`Nmount::nmount`].
106 /// The Error type of [`Nmount::nmount`].
109 /// by `nmount(2)`.
119 /// Returns the additional error string sometimes generated by `nmount(2)`.
158 /// Result type of [`Nmount::nmount`].
164 /// The `nmount(2)` system call works similarly to the `mount(8)` program; it
192 /// .nmount(MntFlags::empty()).unwrap();
198 /// * [`nmount(2)`](https://www.freebsd.org/cgi/man.cgi?query=nmount)
256 /// Unsafe because it will cause `Nmount::nmount` to dereference a raw
273 /// let mut nmount = Nmount::new();
274 /// unsafe { nmount.mut_ptr_opt(&name, p, len) };
317 /// let mut nmount: Nmount<'static> = Nmount::new();
318 /// nmount.null_opt_owned(read_only);
378 pub fn nmount(&mut self, flags: MntFlags) -> NmountResult {
382 // nmount can return extra error information via a "errmsg" return
395 let res = unsafe { libc::nmount(iovp, niov, flags.bits) };