dlopen.3 (84306) | dlopen.3 (90172) |
---|---|
1.\" This source code is a product of Sun Microsystems, Inc. and is provided 2.\" for unrestricted use provided that this legend is included on all tape 3.\" media and as a part of the software program in whole or part. Users 4.\" may copy or modify this source code without charge, but are not authorized 5.\" to license or distribute it to anyone else except as part of a product or 6.\" program developed by the user. 7.\" 8.\" THIS PROGRAM CONTAINS SOURCE CODE COPYRIGHTED BY SUN MICROSYSTEMS, INC. --- 16 unchanged lines hidden (view full) --- 25.\" 26.\" Sun Microsystems, Inc. 27.\" 2550 Garcia Avenue 28.\" Mountain View, California 94043 29.\" 30.\" Copyright (c) 1991 Sun Microsystems, Inc. 31.\" 32.\" @(#) dlopen.3 1.6 90/01/31 SMI | 1.\" This source code is a product of Sun Microsystems, Inc. and is provided 2.\" for unrestricted use provided that this legend is included on all tape 3.\" media and as a part of the software program in whole or part. Users 4.\" may copy or modify this source code without charge, but are not authorized 5.\" to license or distribute it to anyone else except as part of a product or 6.\" program developed by the user. 7.\" 8.\" THIS PROGRAM CONTAINS SOURCE CODE COPYRIGHTED BY SUN MICROSYSTEMS, INC. --- 16 unchanged lines hidden (view full) --- 25.\" 26.\" Sun Microsystems, Inc. 27.\" 2550 Garcia Avenue 28.\" Mountain View, California 94043 29.\" 30.\" Copyright (c) 1991 Sun Microsystems, Inc. 31.\" 32.\" @(#) dlopen.3 1.6 90/01/31 SMI |
33.\" $FreeBSD: head/lib/libc/gen/dlopen.3 84306 2001-10-01 16:09:29Z ru $ | 33.\" $FreeBSD: head/lib/libc/gen/dlopen.3 90172 2002-02-04 10:33:48Z sobomax $ |
34.\" 35.Dd September 24, 1989 36.Os 37.Dt DLOPEN 3 38.Sh NAME 39.Nm dlopen , dlsym , dlerror , dlclose 40.Nd programmatic interface to the dynamic linker 41.Sh LIBRARY --- 76 unchanged lines hidden (view full) --- 118Symbols from this shared object and its directed acyclic graph (DAG) 119of needed objects will be available for resolving undefined references 120from all other shared objects. 121.It Dv RTLD_LOCAL 122Symbols in this shared object and its DAG of needed objects will be 123available for resolving undefined references only from other objects 124in the same DAG. This is the default, but it may be specified 125explicitly with this flag. | 34.\" 35.Dd September 24, 1989 36.Os 37.Dt DLOPEN 3 38.Sh NAME 39.Nm dlopen , dlsym , dlerror , dlclose 40.Nd programmatic interface to the dynamic linker 41.Sh LIBRARY --- 76 unchanged lines hidden (view full) --- 118Symbols from this shared object and its directed acyclic graph (DAG) 119of needed objects will be available for resolving undefined references 120from all other shared objects. 121.It Dv RTLD_LOCAL 122Symbols in this shared object and its DAG of needed objects will be 123available for resolving undefined references only from other objects 124in the same DAG. This is the default, but it may be specified 125explicitly with this flag. |
126.It Dv RTLD_TRACE 127When set, causes dynamic linker to exit after loading all objects 128needed by this shared object and printing a summary which includes 129the absolute pathnames of all objects, to standard output. 130With this flag 131.Fn dlopen 132will return to the caller only in the case of error. |
|
126.El 127.Pp 128If 129.Fn dlopen 130fails, it returns a null pointer, and sets an error condition which may 131be interrogated with 132.Fn dlerror . 133.Pp --- 153 unchanged lines hidden --- | 133.El 134.Pp 135If 136.Fn dlopen 137fails, it returns a null pointer, and sets an error condition which may 138be interrogated with 139.Fn dlerror . 140.Pp --- 153 unchanged lines hidden --- |