SysGetCurrentExecutablePath
SysGetCurrentExecutablePath
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)
- In
Proc.c:578:
}
Str *SysGetCurrentExecutablePath(Str *exe_path) {
if (!exe_path) {
LOG_FATAL("Invalid arguments: exe_path is NULL");
Last updated on