diff dynload/dynload.3 @ 317:3df50603afa9

- dynload fix to get proc name when elf relocation is in use
author Tassilo Philipp
date Tue, 12 Nov 2019 21:16:58 +0100
parents 3840e0188520
children dd5d03483314
line wrap: on
line diff
--- a/dynload/dynload.3	Sat Nov 09 20:34:09 2019 +0100
+++ b/dynload/dynload.3	Tue Nov 12 21:16:58 2019 +0100
@@ -82,7 +82,7 @@
 .Ar sOut .
 If it returns 0, the library name wasn't able to be found. Please note that this might happen in some rare cases, so make sure to always check. Passing a null pointer as
 .Ar pLib
-returns the path to the executable (not guaranteed to be absolute).
+returns the path to the executable (not guaranteed to be absolute - if it isn't it's relative to the working directory the process was started in, not the current one).
 .Pp
 The dlSyms* functions can be used to iterate over symbols. Since they can be used on libraries that are not linked, they are made
 for symbol name lookups, not to get symbols' addresses. For that refer to