aboutsummaryrefslogtreecommitdiff
path: root/src/common.cpp
diff options
context:
space:
mode:
authorSébastien Marie <semarie@online.fr>2022-02-26 08:19:41 +0000
committerSébastien Marie <semarie@online.fr>2022-02-26 08:19:41 +0000
commit8e270d3a99fc4a2369c622ae2de6395d7bfeb0c9 (patch)
treecd125939cfaac8b270b51472c0e7533849015c86 /src/common.cpp
parentae5cb09041f79a2fcda27ab14aa66c6a4e098f8d (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