/// Format an error message from a failed libnl* call.
Format an error message from a failed libnl* call.
Format an error message from a failed libnl * call .
fn nlerrmsg(err: i32, msg: &str) -> String {
    format!("{}: {}", msg, unsafe {
        CStr::from_ptr(nl_geterror(err)).to_string_lossy()
    },)
}
fn nlerrmsg ( err : i32 , msg : & str ) -> String { format ! ( " " msg unsafe { CStr from_ptr ( nl_geterror ( err ) ) to_string_lossy ( ) } ) }
Format an error message from a failed libnl* call.
Format an error message from a failed libnl * call .
err
i32
msg
&str