pub fn executable_dir_from_argv0(argv0: Option<&Path>) -> Option<PathBuf>Expand description
Returns the current executable directory for an argv0-style input.
§Parameters
argv0: Input consumed bycrate::binaries::executable_dir_from_argv0.
§Returns
Returns Some when crate::binaries::executable_dir_from_argv0 can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::binaries::executable_dir_from_argv0(todo!());§Related
crate::binariesfor adjacent helpers that share the same runtime surface.