Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
setservent() z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference SC27-3660-00 |
|
The setservent() call opens the hlq.ETC.SERVICES
data set and resets it to its starting point. If the stayopen flag is nonzero, the hlq.ETC.SERVICES
data set remains open after every call.
Note: The hlq.ETC.SERVICES
data set is described in the z/OS Communications Server: IP Configuration
Reference.
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 callsendservent(), getservbyname(), getservent() |
Copyright IBM Corporation 1990, 2014
|