xref: /illumos-gate/usr/src/man/man3lib/libdl.3lib (revision d8ab6e129d75d7c3f21a7909bf811a3de65faea8)
te
Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
LIBDL 3LIB "Mar 24, 2004"
NAME
libdl - dynamic linking library
SYNOPSIS

cc [ flag... ] file... -ldl [ library... ]
DESCRIPTION

Historically, functions in libdl provided for dynamic linking support. This functionality now resides in libc(3LIB).

This library is maintained to provide backward compatibility for both runtime and compilation environments. The shared object is implemented as a filter on the runtime linker. See ld.so.1(1). New application development need not specify -ldl.

INTERFACES

The shared object libdl.so.1 provides the following public interfaces. See Intro(3) for additional information on shared object interfaces.

dladdr dladdr1
dlclose dldump
dlerror dlinfo
dlmopen dlopen
dlsym
FILES
/lib/libdl.so.1

shared object

/lib/64/libdl.so.1

64-bit shared object

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
MT-Level Safe
SEE ALSO

ld.so.1(1), pvs(1), Intro(3), libc(3LIB), attributes(5)