OSF DCE Application Development Guide--Introduction and Style Guide

Errors and Messaging
The client making the sample_call( ) remote call can then check both RPC comm and
fault status and application-specific status and display any error messages with the same
code:
sample_call(binding_h, &rpc_status, &rpc_remote_status);
if (rpc_remote_status != error_status_ok)
{
print_error("sample_call()", rpc_remote_status);
exit(1);
}
124246 Tandem Computers Incorporated 7 13