netdir_perror man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

netdir(3scl)							  netdir(3scl)

NAME
       netdir,	  netdir_getbyname,    netdir_getbyaddr,   netdir_free,	  net‐
       dir_options, taddr2uaddr, uaddr2taddr, netdir_perror, netdir_sperror  -
       generic transport name-to-address translation

LIBRARY
       SCL RPC library (librpc.so)

SYNOPSIS
       #include <netdir.h>

       int netdir_getbyname(const struct netconfig *config,
	     const struct nd_hostserv *service,
	     struct nd_addrlist **addrs);

       int netdir_getbyaddr(const struct netconfig *config,
	     struct nd_hostservlist **service,
	     const struct netbuf *netaddr);

       void netdir_free(void *ptr, const int struct_type);

       int netdir_options(const struct netconfig *netconfig,
	     const int option, const int fildes, char *point_to_args);

       char *taddr2uaddr(const struct netconfig *config,
	      const struct netbuf *addr);

       struct netbuf *uaddr2taddr(const struct netconfig *config,
	      const char *uaddr);

       void netdir_perror(char *s);

       char *netdir_sperror(void);

DESCRIPTION
       Refer  to  the  Solaris	netdir(3N)  man pages for a description of how
       these functions should be used.

SCL IMPLEMENTATION NOTES
       These functions have been provided primarily to	support	 the  SCL  RPC
       library, but may be called by user applications.

       Note that the functions netdir_getbyaddr() and netdir_options() are not
       implemented in this release of SCL RPC.	Entry points  for  these  rou‐
       tines exist in the library, but the routines return the following:

       netdir_getbyaddr()  will	 return ND_NOSERV netdir_options() will return
       -1

       In both of these cases, a subsequent call to  netdir_perror()  or  net‐
       dir_sperror() will return a string of "service name not found"

RELATED INFORMATION
       Overviews: scl_intro(3scl), scl_rpc(3scl)

       Files: scl_error_log(4scl), scl_netconfig(4scl)

       Functions: getnetconfig(3scl)

       Solaris	man  pages: gethostname(3C), getnetconfig(3N), getnetpath(3N),
       netconfig(4), netdir(3N)

       Manual: Solaris Compatibility Library User's Guide

								  netdir(3scl)
[top]

List of man pages available for DigitalUNIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net