Function libnotcurses_sys::c_api::notcurses_hostname
source · pub unsafe extern "C" fn notcurses_hostname() -> *mut c_charExpand description
Returns a heap-allocated copy of the local host name.
pub unsafe extern "C" fn notcurses_hostname() -> *mut c_charReturns a heap-allocated copy of the local host name.