libnotcurses_sys/fd/methods.rs
1//! `NcVisual*` methods and associated functions.
2
3use core::ffi::c_void;
4
5use crate::{NcSubproc, NcSubprocOptions};
6
7/// # NcVisualOptions Constructors
8impl NcSubprocOptions {
9 ///
10 pub fn new(curry: *mut c_void, restart_period: u64, flags: u64) -> Self {
11 Self {
12 curry,
13 // restart this many seconds after an exit (watch)
14 restart_period,
15 // bitfield over NCOPTION_SUBPROC_* (none yet)
16 flags,
17 }
18 }
19}
20
21/// # NcSubproc Constructors & Destructors
22impl NcSubproc {}
23
24/// # NcSubproc Methods
25impl NcSubproc {}