Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
setprotoent() z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference SC27-3660-00 |
|
The setprotoent() call opens the hlq.ETC.PROTO
data set and sets it to the data set starting point. If the stayopen flag is nonzero, the hlq.ETC.PROTO
data set remains open after every call.
Note: The hlq.ETC.PROTO
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 callsendprotoent(), getprotobyname(), getprotobynumber(), getprotoent() |
Copyright IBM Corporation 1990, 2014
|