21 ifx_tapi_lasterr, Ifx_tapi_lasterr, Ifx_tapi_fxo_line_mode_set – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual
Page 24
Advertising

73M1866B/73M1966B TAPI High-Level Driver User Guide
UG_1x66B_021
24
Rev. 2.2
3.21 IFX_TAPI_LASTERR
Description
This service returns the last error code occurred in the TAPI driver or the low level driver.
#define IFX_TAPI_LASTERR _IOW(IFX_TAPI_IOC_MAGIC, 0x48, int)
Prototype
int ioctl (
int dev_fd,
int IFX_TAPI_LASTERR,
unsigned long param );
Parameters
Data Type
Name
Description
int
dev_fd
Device descriptor.
int
IFX_TAPI_LASTERR
I/O control identifier for this operation.
unsigned long
param
The parameter points to a
IFX_TAPI_ErrorLine_t
structure.
Return Values
Data Type
Description
int
IFX_ERROR – Failed to read last error code.
IFX_SUCCESS – Successful.
Advertising