Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
sock_do_teststor() z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference SC27-3660-00 |
|
The
sock_do_teststor() call is used to check for calls that attempt to
access storage outside the caller address space.
If onoff is not 0 for either inbound or outbound sockets, both the address of the message buffer and the message buffer itself are checked for addressability at every socket call. The error condition, EFAULT, is set if there is an addressing problem. If onoff is set to 0, address checking is not done by the socket library program. If an error occurs when onoff is 0, normal runtime error handling reports the exception condition. The
default for onoff is 0. Addresses are not
checked for addressability for parameters of C socket calls. While
you are testing your program, you might find it useful to set onoff to a nonzero value.
Notes:
RestrictionsNone |
Copyright IBM Corporation 1990, 2014
|