HP-UX SNAplus2 CPI-C Programmer's Guide (June 2003)

CPI-C Calls
Set_Error_Direction (cmsed)
Chapter 3258
LU cannot tell which kind of error occurred (receive or send). The new
error direction remains in effect until a subsequent Set_Error_Direction
changes it.
When the Send_Error call is issued, the partner program receives one of
the following return codes:
CM_PROGRAM_ERROR_PURGING if
error_direction
is set to
CM_RECEIVE_ERROR
CM_PROGRAM_ERROR_NO_TRUNC if
error_direction
is set to
CM_SEND_ERROR