getnetconfig(3scl)getnetconfig(3scl)NAME
getnetconfig, setnetconfig, endnetconfig, getnetconfigent, freenetcon‐
figent, nc_perror, nc_sperror - return information from SCL network
configuration file.
LIBRARY
SCL RPC library (librpc.so)
SYNOPSIS
#include <netconfig.h>
struct netconfig *getnetconfigent(void *handlep);
void *setnetconfig(void);
int endnetconfig(void *handlep);
struct netconfig *getnetconfigent(const char *netid);
void freenetconfigent(struct netconfig *netconfigp);
void nc_perror(const char *msg);
char *nc_sperror(void);
DESCRIPTION
Refer to the Solaris getnetconfig(3N) man pages for a description of
how these functions should be used.
SCL IMPLEMENTATION NOTES
These functions have been ported from the Solaris code placed in the
public domain by Sun. They are provided with SCL RPC primarily to sup‐
port the SCL RPC library, but may be called by user applications.
These functions provide information based on the scl_netconfig(4scl)
database, which is used by the SCL RPC library to determine which net‐
work devices are available for RPC operations.
RELATED INFORMATION
Overviews: scl_intro(3scl), scl_rpc(3scl)
Files: scl_error_log(4scl), scl_netconfig(4scl)
Functions: getnetpath(3scl)
Solaris man pages: getnetconfig(3N), getnetpath(3N), netconfig(4)
Manual: Solaris Compatibility Library User's Guide
getnetconfig(3scl)