Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

libdl(3LIB)

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(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/linker
MT-Level
Safe

See Also

ld.so.1(1), pvs(1), libc(3LIB), intro(3), attributes(7)