diff options
Diffstat (limited to 'man3/dlopen.3')
| -rw-r--r-- | man3/dlopen.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 45e275fba0..a86450e9b8 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -594,7 +594,7 @@ main(void) /* According to the ISO C standard, casting between function pointers and \(aqvoid *\(aq, as done above, produces undefined results. - POSIX.1-2001 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"); @@ -602,7 +602,7 @@ main(void) This (clumsy) cast conforms with the ISO C standard and will avoid any compiler warnings. - The 2013 Technical Corrigendum 1 to POSIX.1-2008 improved matters + The 2013 Technical Corrigendum 1 to POSIX.1\-2008 improved matters by requiring that conforming implementations support casting \(aqvoid *\(aq to a function pointer. Nevertheless, some compilers (e.g., gcc with the \(aq\-pedantic\(aq option) may complain about the |
