Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

libnsl(3LIB)

Name

libnsl - network services library

Description

Historically, this library provided a transport-level interface to networking services for applications, facilities for machine-independent data representation, a remote procedure call mechanism, and other networking services useful for application programs. 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 libc.so.1. New application development does not need to specify –lnsl.

Some symbols are not intended to be referenced directly. Rather, they are exposed because they are used elsewhere through a private interface. One such example is the set of symbols beginning with the _xti prefix. Those symbols are used in implementing the X/Open Transport Interface (XTI) interfaces.

Files

/lib/libnsl.so.1

32-bit shared object

/lib/64/libnsl.so.1

64-bit shared object

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/library/libc
Interface Stability
Obsolete Committed
MT-Level
Safe with exceptions

See Also

pvs(1), Intro(2), libxnet(3LIB), intro(3), attributes(7)

History

The historical content of the libnsl library moved to the libc(3LIB) library in Solaris 11.4.