mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-08 15:43:05 +00:00
`argv[0]`/`getexexname()` are not always absolute paths by default and can be modified to anything the developer wants them to be.
Consider using `readSymLink("/proc/self/path/a.out")` instead and `getexecname()` as the fallback, since the symlink will always be the correct absolute path (unless /proc is ot mounted, but it is by default on Solaris and Illumos platforms).
|
||
|---|---|---|
| .. | ||
| android | ||
| cocoa | ||
| dummy | ||
| emscripten | ||
| haiku | ||
| n3ds | ||
| ps2 | ||
| psp | ||
| riscos | ||
| unix | ||
| vita | ||
| windows | ||
| winrt | ||