brush-core 0.5.0

Reusable core of a POSIX/bash shell (used by brush-shell)
Documentation
1
2
3
pub(crate) fn get_hostname() -> std::io::Result<std::ffi::OsString> {
    crate::sys::hostname::get()
}