Function nstd_sys::env::nstd_env_current_exe
source · #[no_mangle]
pub extern "C" fn nstd_env_current_exe(
) -> NSTDIOStringResult<'static>
Available on crate feature
env
only.Expand description
Returns a complete path to the process executable.
§Note
Please see Rust’s documentation for information about the security of this function https://doc.rust-lang.org/std/env/fn.current_exe.html.
§Returns
NSTDIOStringResult exe
- A complete path to process executable on success, or the I/O
operation error code on failure.