Skip to content
GetCurrentExecutablePath

GetCurrentExecutablePath

Description

Get the path to the current executable.

Parameters

Name Direction Description
exe_path out Str object to store the executable path.

Success

Returns initialized Str object with executable path.

Failure

Returns NULL if path cannot be determined.

Usage example (Cross-references)

Usage examples (Cross-references)
    }
    
    Str *GetCurrentExecutablePath(Str *exe_path) {
        ValidateStr(exe_path);
        Allocator *alloc = exe_path->allocator;
Last updated on