From: Sascha Wildner Date: Tue, 30 Jul 2013 19:32:37 +0000 (+0200) Subject: dlvsym.3: Restrict to documenting dlvsym(). X-Git-Tag: v3.7.0~689 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/10aee15b2f75c445b42e32a6487d6590366cf122 dlvsym.3: Restrict to documenting dlvsym(). * Remove wrong prototype. dlsym() has its own manual page which has it correctly. * Do not reference itself in SEE ALSO. * Fix .Nm --- diff --git a/lib/libc/gen/dlvsym.3 b/lib/libc/gen/dlvsym.3 index ba5e8766b1..ff03d03224 100644 --- a/lib/libc/gen/dlvsym.3 +++ b/lib/libc/gen/dlvsym.3 @@ -35,15 +35,13 @@ .Dt DLVSYM 3 .Os .Sh NAME -.Nm dlsym +.Nm dlvsym .Nd shared object symbol lookup by version function .Sh LIBRARY This function is not in a library. It is included in every dynamically linked program automatically. .Sh SYNOPSIS .In dlfcn.h -.Ft void * -.Fn dlsym "void *handle" "const char *name" "const char *version" .Ft "void *" .Fn dlvsym "void *handle" "const char *name" "const char *version" .Sh DESCRIPTION @@ -51,7 +49,7 @@ The .Fn dlvsym function does the same as -.Fn dlsym +.Xr dlsym 3 but takes a version string as an additional argument. Both the name and the version must match in order for the symbol to be resolved. .Sh NOTES @@ -111,8 +109,7 @@ main (int argc, char *argv[]) .Sh SEE ALSO .Xr rtld 1 , .Xr dlfcn 3 , -.Xr dlsym 3 , -.Xr dlvsym 3 +.Xr dlsym 3 .Sh HISTORY The .Nm