callname_from_argv0

Function callname_from_argv0 

Source
fn callname_from_argv0(argv0: &OsStr) -> &str
Expand description

Find the base binary name from argv0 (without a full path). The empty string is never returned; instead a fallback string is used. If the input is not valid UTF-8, a default is used.