1libnsl(3LIB)                  Interface Libraries                 libnsl(3LIB)
2
3
4

NAME

6       libnsl - network services library
7

SYNOPSIS

9       cc [ flag... ] file... -lnsl [ library... ]
10
11

DESCRIPTION

13       Functions  in  this  library provide routines that provide a transport-
14       level interface to networking services for applications, facilities for
15       machine-independent data representation, a remote procedure call mecha‐
16       nism, and other networking services useful for application programs.
17
18
19       Some symbols are not intended to be referenced directly.  Rather,  they
20       are  exposed  because  they are used elsewhere through a private inter‐
21       face.  One such example is the set of symbols beginning with  the  _xti
22       prefix.  Those  symbols  are  used in implementing the X/Open Transport
23       Interface (XTI) interfaces documented in libxnet. See libxnet(3LIB).
24

INTERFACES

26       The shared object libnsl.so.1 provides the  public  interfaces  defined
27       below.  See Intro(3) for additional information on shared object inter‐
28       faces.
29
30
31
32
33       __rpc_createerr               __t_errno
34       _nderror                      _null_auth
35       _xti_accept                   _xti_alloc
36       _xti_bind                     _xti_close
37       _xti_connect                  _xti_error
38       _xti_free                     _xti_getinfo
39       _xti_getprotaddr              _xti_getstate
40       _xti_listen                   _xti_look
41       _xti_open                     _xti_optmgmt
42       _xti_rcv                      _xti_rcvconnect
43       _xti_rcvdis                   _xti_rcvrel
44       _xti_rcvreldata               _xti_rcvudata
45       _xti_rcvuderr                 _xti_rcvv
46       _xti_rcvvudata                _xti_snd
47       _xti_snddis                   _xti_sndrel
48       _xti_sndreldata               _xti_sndudata
49       _xti_sndv                     _xti_sndvudata
50       _xti_strerror                 _xti_sync
51       _xti_sysconf                  _xti_unbind
52       _xti_xns5_accept              _xti_xns5_snd
53       auth_destroy                  authdes_create
54       authdes_getucred              authdes_lock
55       authdes_seccreate             authnone_create
56       authsys_create                authsys_create_default
57       callrpc                       clnt_broadcast
58       clnt_call                     clnt_control
59       clnt_create                   clnt_create_timed
60       clnt_create_vers              clnt_create_vers_timed
61       clnt_destroy                  clnt_dg_create
62       clnt_door_create              clnt_freeres
63       clnt_geterr                   clnt_pcreateerror
64       clnt_perrno                   clnt_perror
65       clnt_raw_create               clnt_spcreateerror
66
67       clnt_sperrno                  clnt_sperror
68       clnt_tli_create               clnt_tp_create
69       clnt_tp_create_timed          clnt_vc_create
70       clntraw_create                clnttcp_create
71       clntudp_bufcreate             clntudp_create
72       dbmclose                      dbminit
73       delete                        des_setparity
74       dial                          doconfig
75       endhostent                    endnetconfig
76       endnetpath                    endrpcent
77       fetch                         firstkey
78       freehostent                   freenetconfigent
79       get_myaddress                 gethostbyaddr
80       gethostbyaddr_r               gethostbyname
81       gethostbyname_r               gethostent
82       gethostent_r                  getipnodebyaddr
83       getipnodebyname               getipsecalgbyname
84       getipsecalgbynum              getipsecprotobyname
85       getipsecprotobynum            getnetconfig
86       getnetconfigent               getnetname
87       getnetpath                    getpublickey
88       getrpcbyname                  getrpcbyname_r
89       getrpcbynumber                getrpcbynumber_r
90       getrpcent                     getrpcent_r
91       getrpcport                    getsecretkey
92       h_errno                       host2netname
93       inet_addr                     inet_netof
94       inet_ntoa                     inet_ntoa_r
95       inet_ntop                     inet_pton
96       key_decryptsession            key_encryptsession
97       key_gendes                    key_secretkey_is_set
98       key_setsecret                 maxbno
99       nc_perror                     nc_sperror
100       netdir_free                   netdir_getbyaddr
101       netdir_getbyname              netdir_options
102       netdir_perror                 netdir_sperror
103       netname2host                  netname2user
104       nextkey                       nis_add
105       nis_add_entry                 nis_addmember
106       nis_checkpoint                nis_clone_object
107       nis_creategroup               nis_data
108       nis_destroy_object            nis_destroygroup
109       nis_dir_cmp                   nis_domain_of
110       nis_dump                      nis_dumplog
111       nis_find_item                 nis_finddirectory
112       nis_first_entry               nis_free_request
113       nis_freenames                 nis_freeresult
114       nis_freeservlist              nis_freetags
115       nis_get_request               nis_get_static_storage
116       nis_getnames                  nis_getservlist
117       nis_in_table                  nis_insert_item
118       nis_insert_name               nis_ismember
119       nis_leaf_of                   nis_leaf_of_r
120       nis_lerror                    nis_list
121       nis_local_directory           nis_local_group
122       nis_local_host                nis_local_principal
123       nis_lookup                    nis_make_error
124       nis_make_rpchandle            nis_mkdir
125       nis_modify                    nis_modify_entry
126       nis_name_of                   nis_next_entry
127       nis_perror                    nis_ping
128       nis_print_directory           nis_print_entry
129       nis_print_group               nis_print_group_entry
130       nis_print_link                nis_print_object
131       nis_print_rights              nis_print_table
132
133       nis_read_obj                  nis_remove
134       nis_remove_entry              nis_remove_item
135       nis_remove_name               nis_removemember
136       nis_rmdir                     nis_servstate
137       nis_sperrno                   nis_sperror
138       nis_sperror_r                 nis_stats
139       nis_verifygroup               nis_write_obj
140       pmap_getmaps                  pmap_getport
141       pmap_rmtcall                  pmap_set
142       pmap_unset                    registerrpc
143       rpc_broadcast                 rpc_broadcast_exp
144       rpc_call                      rpc_control
145       rpc_createerr                 rpc_gss_get_error
146       rpc_gss_get_mech_info         rpc_gss_get_mechanisms
147       rpc_gss_get_principal_name    rpc_gss_get_versions
148       rpc_gss_getcred               rpc_gss_is_installed
149       rpc_gss_max_data_length       rpc_gss_mech_to_oid
150       rpc_gss_qop_to_num            rpc_gss_seccreate
151       rpc_gss_set_callback          rpc_gss_set_defaults
152       rpc_gss_set_svc_name          rpc_gss_svc_max_data_length
153       rpc_reg                       rpcb_getaddr
154       rpcb_getmaps                  rpcb_gettime
155       rpcb_rmtcall                  rpcb_set
156       rpcb_unset                    sethostent
157       setnetconfig                  setnetpath
158       setrpcent                     store
159       svc_auth_reg                  svc_control
160       svc_create                    svc_destroy
161       svc_dg_create                 svc_dg_enablecache
162       svc_done                      svc_door_create
163       svc_exit                      svc_fd_create
164       svc_fdset                     svc_freeargs
165       svc_get_local_cred            svc_getargs
166       svc_getreq                    svc_getreq_common
167       svc_getreq_poll               svc_getreqset
168       svc_getrpccaller              svc_max_pollfd
169       svc_pollfd                    svc_raw_create
170       svc_reg                       svc_register
171       svc_run                       svc_sendreply
172       svc_tli_create                svc_tp_create
173       svc_unreg                     svc_unregister
174       svc_vc_create                 svcerr_auth
175       svcerr_decode                 svcerr_noproc
176       svcerr_noprog                 svcerr_progvers
177       svcerr_systemerr              svcerr_weakauth
178       svcfd_create                  svcraw_create
179       svctcp_create                 svcudp_bufcreate
180       svcudp_create                 t_accept
181       t_alloc                       t_bind
182       t_close                       t_connect
183       t_errno                       t_error
184       t_free                        t_getinfo
185       t_getname                     t_getstate
186       t_listen                      t_look
187       t_nerr                        t_open
188       t_optmgmt                     t_rcv
189       t_rcvconnect                  t_rcvdis
190       t_rcvrel                      t_rcvudata
191       t_rcvuderr                    t_snd
192       t_snddis                      t_sndrel
193       t_sndudata                    t_strerror
194       t_sync                        t_unbind
195       taddr2uaddr                   uaddr2taddr
196       undial                        user2netname
197       xdr_accepted_reply            xdr_array
198
199       xdr_authsys_parms             xdr_bool
200       xdr_bytes                     xdr_callhdr
201       xdr_callmsg                   xdr_char
202       xdr_destroy                   xdr_double
203       xdr_enum                      xdr_float
204       xdr_free                      xdr_getpos
205       xdr_hyper                     xdr_inline
206       xdr_int                       xdr_int16_t
207       xdr_int32_t                   xdr_int64_t
208       xdr_int8_t                    xdr_long
209       xdr_longlong_t                xdr_opaque
210       xdr_opaque_auth               xdr_pointer
211       xdr_quadruple                 xdr_reference
212       xdr_rejected_reply            xdr_replymsg
213       xdr_setpos                    xdr_short
214       xdr_sizeof                    xdr_string
215       xdr_u_char                    xdr_u_hyper
216       xdr_u_int                     xdr_u_long
217       xdr_u_longlong_t              xdr_u_short
218       xdr_uint16_t                  xdr_uint32_t
219       xdr_uint64_t                  xdr_uint8_t
220       xdr_union                     xdr_vector
221       xdr_void                      xdr_wrapstring
222       xdrmem_create                 xdrrec_create
223       xdrrec_endofrecord            xdrrec_eof
224       xdrrec_readbytes              xdrrec_skiprecord
225       xdrstdio_create               xprt_register
226       xprt_unregister               yp_all
227       yp_bind                       yp_first
228       yp_get_default_domain         yp_master
229       yp_match                      yp_next
230       yp_order                      yp_unbind
231       yp_update                     yperr_string
232       ypprot_err
233
234
235
236       The following interface  is  unique  to  the  32-bit  version  of  this
237       library:
238
239
240
241
242       _new_svc_fdset
243
244

FILES

246       /lib/libnsl.so.1       shared object
247
248
249       /lib/64/libnsl.so.1    64-bit shared object
250
251

ATTRIBUTES

253       See attributes(5) for descriptions of the following attributes:
254
255
256
257
258       ┌─────────────────────────────┬─────────────────────────────┐
259       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
260       ├─────────────────────────────┼─────────────────────────────┤
261       │Availability                 │SUNWcsl (32-bit)             │
262       ├─────────────────────────────┼─────────────────────────────┤
263       │                             │SUNWcslx (64-bit)            │
264       ├─────────────────────────────┼─────────────────────────────┤
265       │MT-Level                     │Safe with exceptions         │
266       └─────────────────────────────┴─────────────────────────────┘
267

SEE ALSO

269       pvs(1), Intro(2), Intro(3), libxnet(3LIB), attributes(5)
270
271
272
273SunOS 5.11                        24 Mar 2004                     libnsl(3LIB)
Impressum