libnsl(4)
NAME
libnsl − the network services library
SYNOPSIS
cc [ flag ... ] file ... −lnsl [ library ... ]
DESCRIPTION
Functions in this library provide routines that provide 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.
The shared object libnsl.so.1 provides the public interfaces defined below. For additional information on shared object interfaces, see intro(4).
Many features in this library are implemented upon dynamic linking and will not function correctly if the library is statically linked. Additionally, an application that statically links this library will not be compliant with the System V Application Binary Interface.
Further, 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 documented in libxnet. See libxnet(4).
INTERFACES
SUNW_1.5 (generic)
| _xti_accept | _xti_alloc |
| _xti_bind | _xti_close |
| _xti_connect | _xti_error |
| _xti_free | _xti_getinfo |
| _xti_getprotaddr | _xti_getstate |
| _xti_listen | _xti_look |
| _xti_open | _xti_optmgmt |
| _xti_rcv | _xti_rcvconnect |
| _xti_rcvdis | _xti_rcvrel |
| _xti_rcvudata | _xti_rcvuderr |
| _xti_snd | _xti_snddis |
| _xti_sndrel | _xti_sndudata |
| _xti_strerrort | _xti_sync |
| _xti_unbind | clnt_create_vers_timed |
| clnt_door_create | rpc_gss_get_error |
| rpc_gss_get_mech_info | rpc_gss_get_mechanisms |
| rpc_gss_get_principal_name | rpc_gss_get_versions |
| rpc_gss_getcred | rpc_gss_is_installed |
| rpc_gss_max_data_length | rpc_gss_mech_to_oid |
| rpc_gss_qop_to_num | rpc_gss_seccreate |
| rpc_gss_set_callback | rpc_gss_set_defaults |
| rpc_gss_set_svc_name | rpc_gss_svc_max_data_length |
| svc_door_create | svc_get_local_cred |
| svc_max_pollfd | svc_pollfd |
SYSVABI_1.3 (generic) -
The System V Application Binary Interface, Third Edition:
| authdes_getucred | authdes_seccreate |
| authnone_create | authsys_create |
| authsys_create_default | clnt_create |
| clnt_dg_create | clnt_pcreateerror |
| clnt_perrno | clnt_perror |
| clnt_raw_create | clnt_spcreateerror |
| clnt_sperrno | clnt_sperror |
| clnt_tli_create | clnt_tp_create |
| clnt_vc_create | endnetconfig |
| endnetpath | freenetconfigent |
| getnetconfig | getnetconfigent |
| getnetname | getnetpath |
| getpublickey | getsecretkey |
| host2netname | key_decryptsession |
| key_encryptsession | key_gendes |
| key_setsecret | nc_perror |
| _nderror | netdir_free |
| netdir_getbyaddr | netdir_getbyname |
| netdir_options | netname2host |
| netname2user | rpcb_getaddr |
| rpcb_getmaps | rpcb_gettime |
| rpcb_rmtcall | rpc_broadcast |
| rpcb_set | rpcb_unset |
| rpc_call | rpc_createerr |
| rpc_reg | setnetconfig |
| setnetpath | svc_create |
| svc_dg_create | svcerr_auth |
| svcerr_decode | svcerr_noproc |
| svcerr_noprog | svcerr_progvers |
| svcerr_systemerr | svcerr_weakauth |
| svc_fd_create | svc_fds |
| svc_getreqset | svc_raw_create |
| svc_reg | svc_run |
| svc_sendreply | svc_tli_create |
| svc_tp_create | svc_unreg |
| svc_vc_create | t_accept |
| taddr2uaddr | t_alloc |
| t_bind | t_close |
| t_connect | t_errno |
| t_error | t_free |
| t_getinfo | t_getstate |
| t_listen | t_look |
| t_open | t_optmgmt |
| t_rcv | t_rcvconnect |
| t_rcvdis | t_rcvrel |
| t_rcvudata | t_rcvuderr |
| t_snd | t_snddis |
| t_sndrel | t_sndudata |
| t_sync | t_unbind |
| uaddr2taddr | user2netname |
| xdr_accepted_reply | xdr_array |
| xdr_authsys_parms | xdr_bool |
| xdr_bytes | xdr_callhdr |
| xdr_callmsg | xdr_char |
| xdr_double | xdr_enum |
| xdr_float | xdr_free |
| xdr_int | xdr_long |
| xdrmem_create | xdr_opaque |
| xdr_opaque_auth | xdr_pointer |
| xdrrec_create | xdrrec_eof |
| xdrrec_skiprecord | xdr_reference |
| xdr_rejected_reply | xdr_replymsg |
| xdr_short | xdrstdio_create |
| xdr_string | xdr_u_char |
| xdr_u_long | xdr_union |
| xdr_u_short | xdr_vector |
| xdr_void | xdr_wrapstring |
| xprt_register | xprt_unregister |
SISCD_2.3 (SPARC only) -
The SPARC Compliance Definition, revision 2.3. This interface inherits all definitions from SYSVABI_1.3, and defines:
| gethostbyaddr | gethostbyname |
| inet_addr | inet_netof |
| inet_ntoa | _null_auth |
| rpc_broadcast_exp | svc_fdset |
SUNW_1.1 (generic):
| authdes_create | authdes_lock |
| auth_destroy | callrpc |
| clnt_broadcast | clnt_call |
| clnt_control | clnt_create_timed |
| clnt_create_vers | clnt_destroy |
| clnt_freeres | clnt_geterr |
| clntraw_create | clnttcp_create |
| clnt_tp_create_timed | clntudp_bufcreate |
| clntudp_create | dbmclose |
| dbminit | delete |
| des_setparity | dial |
| doconfig | endhostent |
| endrpcent | fetch |
| firstkey | gethostbyaddr_r |
| gethostbyname_r | gethostent |
| gethostent_r | get_myaddress |
| getrpcbyname | getrpcbyname_r |
| getrpcbynumber | getrpcbynumber_r |
| getrpcent | getrpcent_r |
| getrpcport | h_errno |
| inet_ntoa_r | key_secretkey_is_set |
| maxbno | nc_sperror |
| netdir_perror | netdir_sperror |
| nextkey | nis_add |
| nis_add_entry | nis_addmember |
| nis_cache_add_entry_1 | nis_cache_read_coldstart_1 |
| nis_cache_refresh_entry_1 | nis_cache_remove_entry_1 |
| nis_checkpoint | nis_clone_object |
| nis_creategroup | nis_data |
| nis_destroygroup | nis_destroy_object |
| nis_dir_cmp | nis_domain_of |
| nis_dump | nis_dumplog |
| nis_finddirectory | nis_find_item |
| nis_first_entry | nis_freenames |
| nis_free_request | nis_freeresult |
| nis_freeservlist | nis_freetags |
| nis_getnames | nis_get_request |
| nis_getservlist | nis_get_static_storage |
| nis_insert_item | nis_insert_name |
| nis_in_table | nis_ismember |
| nis_leaf_of | nis_leaf_of_r |
| nis_lerror | nis_list |
| nis_local_directory | nis_local_group |
| nis_local_host | nis_local_principal |
| nis_lookup | nis_make_error |
| nis_make_rpchandle | nis_mkdir |
| nis_modify | nis_modify_entry |
| nis_name_of | nis_next_entry |
| nis_perror | nis_ping |
| nis_print_directory | nis_print_entry |
| nis_print_group | nis_print_group_entry |
| nis_print_link | nis_print_object |
| nis_print_rights | nis_print_table |
| nis_read_obj | nis_remove |
| nis_remove_entry | nis_remove_item |
| nis_removemember | nis_remove_name |
| nis_rmdir | nis_servstate |
| nis_sperrno | nis_sperror |
| nis_sperror_r | nis_stats |
| nis_verifygroup | nis_write_obj |
| pmap_getmaps | pmap_getport |
| pmap_rmtcall | pmap_set |
| pmap_unset | registerrpc |
| rpc_control | sethostent |
| setrpcent | store |
| svc_auth_reg | svc_control |
| svc_destroy | svc_dg_enablecache |
| svc_done | svc_exit |
| svcfd_create | svc_freeargs |
| svc_getargs | svc_getreq |
| svc_getreq_common | svc_getreq_poll |
| svc_getrpccaller | svcraw_create |
| svc_register | svctcp_create |
| svcudp_bufcreate | svcudp_create |
| svc_unregister | __t_errno |
| t_getname | t_nerr |
| t_strerror | undial |
| xdr_destroy | xdr_getpos |
| xdr_hyper | xdr_inline |
| xdr_longlong_t | xdr_quadruple |
| xdrrec_endofrecord | xdrrec_readbytes |
| xdr_setpos | xdr_sizeof |
| xdr_u_hyper | xdr_u_int |
| xdr_u_longlong_t | yp_all |
| yp_bind | yperr_string |
| yp_first | yp_get_default_domain |
| yp_master | yp_match |
| yp_next | yp_order |
| ypprot_err | yp_unbind |
| yp_update |
SUNW_1.1 (SPARC) -
This interface inherits all definitions from the generic SUNW_1.1 and the SISCD_2.3.
SUNW_1.1 (i386) - This interface contains all definitions from SISCD_2.3, and inherits all definitions from the generic SUNW_1.1 and the SYSVABI_1.3.
FILES
/usr/lib/libnsl.so.1 shared object
/usr/lib/libnsl.a archive library
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
/usr/lib/libnsl.so.1
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| Availability | SUNWcsu |
| MT-Level | Safe with exceptions |
SEE ALSO
pvs(1), intro(2), intro(3), intro(4), libxnet(4), attributes(5)
SunOS 5.6 — Last change: 27 May 1997