From: Michael Kerrisk Date: Thu, 16 Jul 2015 08:56:05 +0000 (+0200) Subject: dlopen.3: Remove dlerror() content that was migrated to dlerror(3) X-Git-Tag: man-pages-4.02~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=374b34d32e6265d7d6d168c39489bb7c217143f3;p=thirdparty%2Fman-pages.git dlopen.3: Remove dlerror() content that was migrated to dlerror(3) Signed-off-by: Michael Kerrisk --- diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 0ec1c958f3..dd36b38e2a 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -34,15 +34,13 @@ .\" .TH DLOPEN 3 2015-03-29 "Linux" "Linux Programmer's Manual" .SH NAME -dlclose, dlerror, dlopen, dlmopen \- -programming interface to dynamic linking loader +dlclose, dlopen, dlmopen \- +open and close a shared object .SH SYNOPSIS .B #include .sp .BI "void *dlopen(const char *" filename ", int " flags ); .sp -.B "char *dlerror(void);" -.sp .BI "int dlclose(void *" handle ); .sp .B #define _GNU_SOURCE @@ -53,22 +51,6 @@ programming interface to dynamic linking loader .sp Link with \fI\-ldl\fP. .SH DESCRIPTION -The functions described in this page -provide an interface to the dynamic linking loader. -.SS dlerror() -The function -.BR dlerror () -returns a human-readable string describing the most recent error -that occurred from -.BR dlopen (), -.BR dlsym () -.BR dlvsym (), -or -.BR dlclose () -since the last call to -.BR dlerror (). -It returns NULL if no errors have occurred since initialization or since -it was last called. .SS dlopen() The function .BR dlopen () @@ -330,17 +312,15 @@ The function .BR dlclose () returns 0 on success, and nonzero on error. .SH VERSIONS -.BR dlopen (), -.BR dlclose (), +.BR dlopen () and -.BR dlerror () +.BR dlclose () are present in glibc 2.0 and later. .BR dlmopen () first appeared in glibc 2.3.4. .SH CONFORMING TO POSIX.1-2001 describes -.BR dlclose (), -.BR dlerror (), +.BR dlclose () and .BR dlopen (). The @@ -528,6 +508,7 @@ main(int argc, char **argv) .BR pldd (1), .BR dl_iterate_phdr (3), .BR dladdr (3), +.BR dlerror (3), .BR dlinfo (3), .BR dlsym (3), .BR rtld-audit (7),