Reference Driver

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
32 Rev. 2.7
6.1.14 M1966_CNTRY_NMBR_GET
Description
Converts a null terminated ASCII string into a country code. This country code can be used in the
M1966_CH_INIT IOCTL.
#define M1966_CNTRY_NMBR_GET _IOWR(0xA4,0xB5,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_CNTRY_NMBR_GET,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1966_CNTRY_NMBR_GET
I/O control identifier for this operation.
unsigned long
param
Address of the null terminated character string.
Return Values
Data Type Description
int
Return country code M1966_COUNTRY_CODE,
Or 255 Invalid country code.