mirror of https://github.com/mkerrisk/man-pages
dlopen.3: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d645b01b31
commit
3e4c47dde2
|
@ -585,7 +585,7 @@ main(void)
|
|||
|
||||
/* According to the ISO C standard, casting between function
|
||||
pointers and 'void *', as done above, produces undefined results.
|
||||
POSIX.1-2003 and POSIX.1-2008 accepted this state of affairs and
|
||||
POSIX.1-2001 and POSIX.1-2008 accepted this state of affairs and
|
||||
proposed the following workaround:
|
||||
|
||||
*(void **) (&cosine) = dlsym(handle, "cos");
|
||||
|
|
Loading…
Reference in New Issue