Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
setnetent() z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference SC27-3660-00 |
|
The setnetent() call opens and caches the local host table contents for getnetent() call. The setnetent() call is available only when RESOLVE_VIA_LOOKUP is defined before MANIFEST.H is included. See z/OS Communications Server: IP Configuration Guide for information about using local host tables.
Return valuesThe value 0 indicates success; the value -1 indicates an error. Errno identifies the specific error, returning the errno value of the fopen() call. Related callsendnetent(), endhostent(), getnetbyaddr(), getnetbyname(), getnetent() |
Copyright IBM Corporation 1990, 2014
|