Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
.SS History
These functions are part of the dlopen API, derived from SunOS.
.SH EXAMPLE
-Load the (glibc) math library, and print the cosine of 2.0:
+The program below loads the (glibc) math library,
+looks up the address of the
+.BR cos (3)
+function, and prints the cosine of 2.0.
+The following is an example of building and running the program:
+
+.in +4n
+.nf
+$ \fBcc dlopen_demo.c \-ldl\fP
+$ \fB./a.out\fP
+\-0.416147
+.fi
+.in
+.SS Program source
.nf
#include <stdio.h>