cc_GetUsrAttr( ) gets the established attribute for the line device
158
}
int procdevfail(LINEDEV handle)
{int reason;
char *msg;
reason = cc_CauseValue(handle);
cc_ResultMsg(handle,reason,&msg);
printf(reason = %x - %s\n,reason,msg);
}
!
! !
!
Errors
If the function returns < 0 to indicate failure, use the cc_CauseValue( ) function
to retrieve the reason code for the failure. The cc_ResultMsg( ) function can be
used to interpret the reason code. Error codes are defined in the files ccerr.h,
isdnerr.h, and isdncmd.h.
Typically, a < 0 return code for the cc_GetUsrAttr( ) function indicates that the
function reference (the device handle) is not valid for the function call.
!
! !
!
See Also
cc_SetUsrAttr( )