|Skip Navigation Links|
|Exit Print View|
|man pages section 3: Library Interfaces and Headers Oracle Solaris 10 1/13 Information Library|
- resolver library
cc [ flag... ] file... -lresolv -lsocket -lnsl [ library... ] #include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> #include <netdb.h>
Functions in this library provide for creating, sending, and interpreting packets to the Internet domain name servers.
The shared object libresolv.so.2 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.
Programs are expected to use the aliases defined in <resolv.h> rather than calling the "__" prefixed procedures, as indicated in the following table. Use of the routines in the first column is discouraged.
shared object for backward compatibility only
64–bit shared object for backward compatibility only
64–bit shared object
See attributes(5) for descriptions of the following attributes: