diff options
| author | Sébastien Marie <semarie@online.fr> | 2022-02-26 08:19:41 +0000 |
|---|---|---|
| committer | Sébastien Marie <semarie@online.fr> | 2022-02-26 08:19:41 +0000 |
| commit | 8e270d3a99fc4a2369c622ae2de6395d7bfeb0c9 (patch) | |
| tree | cd125939cfaac8b270b51472c0e7533849015c86 /src/common.cpp | |
| parent | ae5cb09041f79a2fcda27ab14aa66c6a4e098f8d (diff) | |
openbsd: poor man implementation for getting executable path
it tries to get executable path from argv[0]. it is unreliable and unsecure, but should be fine enough for the considered use-case. it still doesn't address all possible cases.
Diffstat (limited to 'src/common.cpp')
0 files changed, 0 insertions, 0 deletions