add support for utils::guesspath() on macos

This commit is contained in:
Axel Kohlmeyer
2021-09-08 12:09:14 -04:00
parent 22f295ffd8
commit cfa94dfbaf
3 changed files with 14 additions and 2 deletions

View File

@ -408,7 +408,7 @@ namespace utils {
/*! Try to detect pathname from FILE pointer.
*
* Currently only supported on Linux, otherwise will report "(unknown)".
* Currently only supported on Linux and macOS, otherwise will report "(unknown)".
*
* \param buf storage buffer for pathname. output will be truncated if not large enough
* \param len size of storage buffer. output will be truncated to this length - 1