INTRO(3N) — Series 300 and 800 Only
NAME
intro − introduction to network library functions
DESCRIPTION
This section describes functions that are applicable to the Internet network. These functions are part of the standard C library, libc.a.
.TS center; c s s l c l l l l. Supported ARPA/Berkeley Functions Name Appears on Page Description endhostent gethostent.3n get network host entry endnetent getnetent.3n get network entry endprotoent getprotoent.3n get protocol entry endservent getservent.3n get service entry gethostbyaddr gethostent.3n get network host entry gethostbyname gethostent.3n get network host entry gethostent gethostent.3n get network host entry getnetbyaddr getnetent.3n get network entry getnetbyname getnetent.3n get network entry getnetent getnetent.3n get network entry getprotobyname getprotoent.3n get protocol entry getprotobynumber getprotoent.3n get protocol entry getprotoent getprotoent.3n get protocol entry getservbyname getservent.3n get service entry getservbyport getservent.3n get service entry getservent getservent.3n get service entry htonl byteorder.3n convert values between host and network byte order htons byteorder.3n convert values between host and network byte order inet_addr inet.3n internet address manipulation routines inet_lnaof inet.3n internet address manipulation routines inet_makeaddr inet.3n internet address manipulation routines inet_netof inet.3n internet address manipulation routines inet_network inet.3n internet address manipulation routines ntohl byteorder.3n convert values between host and network byte order ntohs byteorder.3n convert values between host and network byte order setnetent getnetent.3n get network entry setprotoent getprotoent.3n get protocol entry setservent getservent.3n get service entry
| Supported NFS Functions | ||
| Name Appears on Page Description | ||
| endnetgrent getnetgrent.3c get network group entry | ||
| endrpcent getrpcent.3c get rpc entry | ||
| getnetgrent getnetgrent.3c get network group entry | ||
| getrpcbyname getrpcent.3c get rpc entry | ||
| getrpcbynumber getrpcent.3c get rpc entry | ||
| getrpcent getrpcent.3c get rpc entry | ||
| innetgr getnetgrent.3c get network group entry | ||
| rpc rpc.3c remote procedure call routines | ||
| setnetgrent getnetgrent.3c get network group entry | ||
| setrpcent getrpcent.3c get rpc entry | ||
| xdr xdr.3c XDR routines | ||
| yp_all ypclnt.3c YP client interface routines | ||
| yp_bind ypclnt.3c YP client interface routines | ||
| yp_first ypclnt.3c YP client interface routines | ||
| yp_get_default_domain ypclnt.3c YP client interface | ||
| routines | ||
| yp_master ypclnt.3c YP client interface routines | ||
| yp_match ypclnt.3c YP client interface routines | ||
| yp_next ypclnt.3c YP client interface routines | ||
| yp_order ypclnt.3c YP client interface routines | ||
| yp_unbind ypclnt.3c YP client interface routines | ||
| ypclnt ypclnt.3c YP client interface routines | ||
| yperr_string ypclnt.3c YP client interface routines | ||
| ypprot_err ypclnt.3c YP client interface routines | ||
The following routines constitute the RPC service library, librpcsvc (NFS). They can be accessed by giving the −lrpcsvc option to ld(1). Declarations for these functions may be obtained from various include files <rpcsvc/*.h>.
.TS center; l c l l l l. Name Appears on Page Description getrpcport getrpcport.3n get RPC port number havedisk rstat.3n determine if remote machine has disk mount mount.3n keep track of remotely mounted filesystems rnusers rnusers.3n return number of users on remote machine rstat rstat.3n get performance data from remote machine rusers rnusers.3n return information about users on remote
machine rwall rwall.3n write to specified remote machines spray spray.3n scatter data in order to check the network yppasswd yppasswd.3n update user password in Yellow Pages
DEPENDENCIES
Implemented on the Series 300 and 800 only.
AUTHOR
UCB (University of California at Berkeley)
NFS was developed by Sun Microsystems, Inc.
Hewlett-Packard Company — May 11, 2021