ascii_to_numeric(_c)
status.i4.v = ascii_to_numeric(value.g.v, num_chars.i4.r,
input_buffer.i1a.r, data_type.i4.r
[,start_index.i4.r])
status.i4.v = ascii_to_numeric_c(value.g.v, num_chars.i4.v,
input_buffer.i1a.r, data_type.i4.v
[,start_index.i4.v])
This routine will convert an ASCII representation of a value in
"input_buffer" into a numeric value in "value". The data type
being converted to should be indicated by "data_type".
value returned numeric value
num_chars number of ASCII characters to use (If a value of zero
is passed for this argument, the length of the string
to be converted will be calculated by this routine.)
minimum number of characters for certain types:
(CNV_NODE -> CNV_NODE_LEN characters,
CNV_NODE_OPERATIONAL -> CNV_NODE_LEN characters,
CNV_NODE_CONSOLE -> CNV_NODE_LEN characters,
CNV_NODE_FRONTEND -> CNV_NODE_LEN characters,
CNV_NODE_FRONTEND_ALL -> CNV_NODE_LEN characters,
CNV_NODE_MOOC -> CNV_NODE_LEN characters,
CNV_NODE_IRM -> CNV_NODE_LEN characters,
CNV_NODE_DAE_FE -> CNV_NODE_LEN characters,
CNV_NODE_LCS -> CNV_NODE_LEN characters,
CNV_NODE_PSEUDO -> CNV_NODE_LEN characters,
CNV_NODE_CENTRALVAX -> CNV_NODE_LEN characters,
CNV_NODE_GPIB -> CNV_NODE_LEN characters,
CNV_NODE_BPM -> CNV_NODE_LEN characters,
CNV_NODE_FRIG -> CNV_NODE_LEN characters,
CNV_NODE_MOTION_CONTROL -> CNV_NODE_LEN characters,
CNV_NODE_QPM -> CNV_NODE_LEN characters,
CNV_NODE_SWIC -> CNV_NODE_LEN characters,
CNV_NODE_VACUUM -> CNV_NODE_LEN characters,
CNV_NODE_MADC -> CNV_NODE_LEN characters,
CNV_NODE_MADC_SUPPORT -> CNV_NODE_LEN characters,
CNV_DEVICE -> DEVICE_NAME_LEN characters,
CNV_LONG_DEVICE -> LONG_DEVICE_NAME_LEN characters,
CNV_C_STYLE_LONG_DEVICE -> C_STYLE_LONG_DEVICE_NAME_LEN
characters,
CNV_C_STYLE_DEVICE_EXT -> C_STYLE_LONG_DEVICE_NAME_LEN
characters,
CNV_DEVICE_NAME -> DEVICE_NAME_LEN characters,
CNV_FERMI_NAME -> DEVICE_FERMI_NAME_LEN characters,
CNV_DEVICE_CLASS -> DIO_CLASS_TEXT_LEN characters,
CNV_DEVICE_TYPE -> DIO_SHORT_DEVICE_TEXT_LEN
characters,
CNV_DBPROP -> CNV_DBPROP_LEN characters,
CNV_DBPROP_ENGLISH -> CNV_DBPROP_LEN_LONG characters,
CNV_FTD -> CNV_FTD_LEN characters,
CNV_READING_FTD -> CNV_FTD_LEN characters,
CNV_COLOR -> CNV_COLOR_LEN characters,
CNV_GRAPHIC_COLOR -> CNV_GRAPHIC_COLOR_LEN characters,
CNV_PAGE -> PAGE_NAME_LEN characters,
CNV_WINDOW -> CNV_WINDOW_LEN characters,
CNV_TV_WINDOW -> CNV_WINDOW_LEN characters,
CNV_GRAPHIC_WINDOW -> CNV_WINDOW_LEN characters,
CNV_PA_GRAPHIC_WINDOW -> CNV_PA_GRAPHIC_WINDOW_LEN
characters,
CNV_ERROR -> ACNET_ERROR_TEXT_LEN characters,
CNV_SHORT_ERROR -> SHORT_ACNET_ERROR_LEN characters,
CNV_CLINKS -> DATESTRING_LEN characters,
CNV_CLINKS_SUPPRESS_SPECIAL_NOTATION -> DATESTRING_LEN
characters,
CNV_CLINKS_DATEONLY -> CNV_CLINKS_DATEONLY_LEN
characters,
CNV_CLINKS_TIMEONLY -> CNV_TIMEONLY_LEN characters,
CNV_CLINKS_FMT_CTIME -> ASCTIME_LEN characters,
CNV_HHMMSS -> CNV_TIMEONLY_LEN characters,
CNV_CTIME -> ASCTIME_LEN characters,
CNV_CTIME_TIMEONLY -> CNV_TIMEONLY_LEN characters,
CNV_GMT_TIME -> ASCTIME_LEN characters,
CNV_GMT_TIME_FMT_CLINKS -> DATE_STRING_LEN characters,
CNV_LABVIEW_TIME_FMT_CLINKS -> DATE_STRING_LEN
characters,
CNV_LABVIEW_TIME_FMT_CTIME -> ASCTIME_LEN characters,
CNV_HOURS_TO_TOD -> TOD_STRING_LEN characters,
CNV_RAD50 -> RAD50_LEN characters,
CNV_USERNAME -> USER_NAME_LEN characters,
CNV_SR_SYSTEM -> CNV_SR_SYSTEM_LEN characters,
CNV_SAVE_LIST -> CNV_SAVE_LIST_LEN characters,
CNV_SDA_CASE -> CNV_SDA_CASE_LEN characters,
CNV_SDA_DIR -> CNV_SDA_DIR_LEN characters,
CNV_SSDN -> CNV_SSDN_LEN characters,
CNV_EMC -> CNV_EMC_LEN characters,
CNV_CONSOLE_NUMBER -> CNV_CONSOLE_NUMBER_LEN
characters,
CNV_CONSOLE_SLOT -> CNV_CONSOLE_SLOT_LEN characters,
CNV_CONSOLE_SLOT_WILD -> CNV_CONSOLE_SLOT_WILD_LEN
characters,
CNV_CONSOLE_PA_SLOT -> CNV_CONSOLE_PA_SLOT_LEN
characters,
CNV_CONSOLE_SA_SLOT -> CNV_CONSOLE_SA_SLOT_LEN
characters,
CNV_SHARED_LOG_FILE -> LOG_NAMLEN characters,
CNV_LEX_DRAW_FILE -> CNV_LEX_DRAW_FILE_LEN characters,
CNV_LEX_PROG_FILE -> CNV_LEX_PROG_FILE_LEN characters,
CNV_LEX_OBJECT -> LEXT_OBJECT_NAMLEN characters,
CNV_LJ_NODE -> CNV_LJ_NAME_LEN characters,
CNV_LJ_NODE_ID -> CNV_LJ_NAME_LEN characters,
CNV_PRIMARY_TRANSFORM_LONG -> DIO_SCALING_TEXT_LEN
characters,
CNV_COMMON_TRANSFORM_LONG -> DIO_SCALING_TEXT_LEN
characters,
CNV_STATE_DEVICE -> DEVICE_NAME_LEN characters,
CNV_SDA_USAGE -> SDA_USAGE_NAME_LEN characters,
CNV_STATE_FTD_INDEX -> DEVICE_NAME_LEN characters,
CNV_SWITCH -> CNV_SWITCH_NAME_LEN characters)
(These values may also be obtained by calling
'numeric_default_length_c'.)
input_buffer input ASCII buffer
data_type data type of "value"
(CNV_BYTE -> one byte decimal integer,
CNV_SHORT -> two byte decimal integer,
CNV_LONG -> four byte decimal integer,
CNV_LONG_LONG -> eight byte decimal integer,
CNV_UBYTE -> one byte unsigned decimal integer,
CNV_USHORT -> two byte unsigned decimal integer,
CNV_ULONG -> four byte unsigned decimal integer,
CNV_ULONG_LONG -> eight byte unsigned decimal integer,
CNV_BYTE_HEX -> one byte hexadecimal integer,
CNV_SHORT_HEX -> two byte hexadecimal integer,
CNV_LONG_HEX -> four byte hexadecimal integer,
CNV_LONG_LONG_HEX -> eight byte hexadecimal integer,
CNV_HEX_STRING -> "num_chars" / 2 hexadecimal
byte array,
CNV_FLOAT -> single precision floating point value,
CNV_EXP -> floating point value in scientific
notation,
CNV_FLOAT_EXP -> single precision floating point value
in either standard or scientific form,
CNV_DOUBLE -> double precision floating point value,
CNV_EXP_DOUBLE -> double precision floating point
value in scientific notation,
CNV_DOUBLE_EXP -> double precision floating point
value in either standard or
scientific form,
CNV_LOGICAL -> four byte integer containing values
of TRUE or FALSE,
CNV_BYTE_LOGICAL -> one byte integer containing values
of FORTRAN_TRUE or FALSE,
CNV_SHORT_LOGICAL -> two byte integer containing values
of FORTRAN_TRUE or FALSE,
CNV_ENUMERATED -> four byte integer from most recent
call to 'set_enumerated_strings_c',
>= CNV_ENUMERATED_BASE -> four byte integer from a
prior call to
'set_enumerated_strings_c',
CNV_BIT_MASK -> four byte integer from most recent
call to 'set_bit_mask_strings_c',
>= CNV_BIT_MASK_BASE -> four byte integer from a
prior call to
'set_bit_mask_strings_c',
CNV_NODE -> two byte integer containing an ACNET
node value,
CNV_NODE_OPERATIONAL -> two byte integer containing
an operationally significant
ACNET node value,
CNV_NODE_CONSOLE -> two byte integer containing an
ACNET console node value,
CNV_NODE_FRONTEND -> two byte integer containing a
CAMAC front end node value,
CNV_NODE_FRONTEND_ALL -> two byte integer containing
a front end node value,
CNV_NODE_MOOC -> two byte integer containing
a MOOC node value,
CNV_NODE_IRM -> two byte integer containing
an IRM node value,
CNV_NODE_DAE_FE -> two byte integer containing
a DAE front end node value,
CNV_NODE_LCS -> two byte integer containing
an LCS (Local Control System)
front end node value,
CNV_NODE_PSEUDO -> two byte integer containing
a pseudo node value,
CNV_NODE_CENTRALVAX -> two byte integer containing
a central VAX node value,
CNV_NODE_GPIB -> two byte integer containing a
GPIB node value,
CNV_NODE_BPM -> two byte integer containing a
BPM node value,
CNV_NODE_FRIG -> two byte integer containing a
frig node value,
CNV_NODE_MOTION_CONTROL -> two byte integer
containing a motion
controller node value,
CNV_NODE_QPM -> two byte integer containing a
QPM node value,
CNV_NODE_SWIC -> two byte integer containing a
SWIC node value,
CNV_NODE_VACUUM -> two byte integer containing a
vacuum node value,
CNV_NODE_MADC -> two byte integer containing a
MADC node value,
CNV_NODE_MADC_SUPPORT -> two byte integer containing a
MADC support node value,
CNV_DEVICE -> four byte integer containing an ACNET
device index,
CNV_LONG_DEVICE -> ARRAY_DEVICE_DATA structure
containing an array device
specification,
CNV_C_STYLE_LONG_DEVICE -> ARRAY_DEVICE_DATA structure
containing an array device
specification,
CNV_C_STYLE_DEVICE_EXT -> ARRAY_DEVICE_DATA_EXT
structure containing an
array device
specification,
CNV_DEVICE_NAME -> DEVICE_NAME_LEN character string
containing an ACNET device name,
CNV_FERMI_NAME -> four byte integer containing an ACNET
device index,
CNV_DEVICE_CLASS -> four byte integer containing a
device class value,
CNV_DEVICE_CLASS_LONG -> four byte integer containing a
device class value,
CNV_DEVICE_TYPE -> four byte integer containing a
device type value,
CNV_DEVICE_TYPE_LONG -> four byte integer containing a
device type value,
CNV_DBPROP -> two byte integer containing an
ACNET database property,
CNV_DBPROP_ENGLISH -> two byte integer containing an
ACNET database property,
CNV_FTD -> two byte integer containing data
acquisition rate (FTD),
CNV_READING_FTD -> two byte integer containing
reading data acquisition rate (FTD),
CNV_COLOR -> four byte integer containing color value,
CNV_PACKED_TV_COLOR -> four byte integer containing
a packed TV color value,
CNV_GRAPHIC_COLOR -> four byte integer containing
a graphic color value,
CNV_PAGE -> PAGE_NAME_LEN character string containing
an application index page name,
CNV_WINDOW -> four byte console window value,
CNV_TV_WINDOW -> four byte console TV window value,
CNV_GRAPHIC_WINDOW -> four byte console graphic
window value,
CNV_PA_GRAPHIC_WINDOW -> four byte PA graphic
window value,
CNV_ERROR -> ACNET_ERR structure containing ACNET
error code,
CNV_SHORT_ERROR -> ACNET_ERR structure containing
ACNET error code (short format),
CNV_CLINKS -> four byte TIME in clinks
(dd-mmm-yyyy hh:mm:ss format),
CNV_CLINKS_SUPPRESS_SPECIAL_NOTATION -> four byte TIME
in clinks
without special
DST overlap
notation,
CNV_CLINKS_DATEONLY -> four byte TIME in clinks
(date only (dd-mmm-yyyy)),
CNV_CLINKS_TIMEONLY -> four byte TIME in clinks
(TIME only (hh:mm:ss)),
CNV_CLINKS_FMT_CTIME-> four byte TIME in clinks
(Www Mmm dd hh:mm:ss yyyy format),
CNV_HHMMSS -> four byte TIME in hh:mm:ss format,
CNV_CTIME -> four byte TIME in seconds since
January 1, 1970
(Www Mmm dd hh:mm:ss yyyy format),
CNV_CTIME_FMT_CLINKS -> four byte TIME in seconds since
January 1, 1970
(dd-mmm-yyyy hh:mm:ss format),
CNV_GMT_TIME -> four byte GMT TIME in seconds since
January 1, 1970
(Www Mmm dd hh:mm:ss yyyy format),
CNV_GMT_TIME_FMT_CLINKS -> four byte GMT TIME in
seconds since
January 1, 1970
(dd-mmm-yyyy hh:mm:ss format),
CNV_LABVIEW_TIME_FMT_CLINKS -> four byte TIME in
seconds since
January 1, 1904
(dd-mmm-yyyy hh:mm:ss format),
CNV_LABVIEW_TIME_FMT_CTIME -> four byte TIME in
seconds since
January 1, 1904
(Www Mmm dd hh:mm:ss yyyy format),
CNV_HOURS_TO_TOD -> floating point hours in
hh:mm:ss format,
CNV_CLINKS_TIMESTAMP -> TIMESTAMP_DATA clinks timestamp in
seconds since January 1, 1972
(dd-mmm-yyyy hh:mm:ss.fff format),
CNV_CTIME_TIMESTAMP -> TIMESTAMP_DATA local timestamp in
seconds since January 1, 1970
(dd-mmm-yyyy hh:mm:ss.fff format),
CNV_UTC_TIMESTAMP -> TIMESTAMP_DATA UTC timestamp in
seconds since January 1, 1970
(dd-mmm-yyyy hh:mm:ss.fff format),
CNV_RAD50 -> four byte radix 50 value,
CNV_USERNAME -> USER_NAME_LEN character string
containing a user name,
CNV_SR_SYSTEM -> four byte integer containing a
Save/Restore system value,
CNV_SR_SAVE_CODE -> four byte integer containing a
Save/Restore save code value,
CNV_SR_DISPLAY_CODE -> four byte integer containing a
Save/Restore display code value,
CNV_SR_DISPLAY_SUBCODE -> four byte integer containing
a Save/Restore display
subcode value,
CNV_SR_FILE -> four byte integer containing a
Save/Restore file number,
CNV_SAVE_LIST -> four byte integer containing a
Save/Restore list value,
CNV_SSDN -> LEN_SSDN byte SSDN value,
CNV_EMC -> LEN_EMC byte EMC (Event Message Code) value,
CNV_CONSOLE_NUMBER -> four byte integer containing a
console number value,
CNV_CONSOLE_SLOT -> four byte integer containing a
console slot value,
CNV_CONSOLE_SLOT_WILD -> four byte integer containing a
wildcarded console slot value,
CNV_CONSOLE_PA_SLOT -> four byte integer containing a
console PA slot value,
CNV_CONSOLE_SA_SLOT -> four byte integer containing a
console SA slot value,
CNV_CONSOLE_CLASS -> four byte integer containing a
console class value,
CNV_SHARED_LOG_FILE -> LOG_NAMLEN character string
containing a shared log file
name,
CNV_LEX_DRAW_FILE -> CNV_LEX_DRAW_FILE_LEN character
string containing a Lex Draw
file name,
CNV_LEX_PROG_FILE -> CNV_LEX_PROG_FILE_LEN character
string containing a Lex Prog
file name,
CNV_LEX_OBJECT -> LEXT_OBJECT_NAMLEN character
string containing a Lex Object name,
CNV_LJ_NODE -> two byte integer containing a
Lumberjack node value,
CNV_LJ_NODE_ID -> four byte integer containing a
Lumberjack node ID value,
CNV_MACHINE -> four byte integer containing an
accelerator machine value,
CNV_MACHINE_LONG -> four byte integer containing an
accelerator machine value,
CNV_CNV_TYPE -> four byte integer containing a
conversion type value,
CNV_INP_TYPE -> four byte integer containing an
input type value,
CNV_SIMPLE_CLOCK_EVENT -> four byte integer containing
a clock event value,
CNV_CLOCK_EVENT -> four byte integer containing a
clock event value,
CNV_CLOCK_EVENT_LONG -> four byte integer containing a
clock event value,
CNV_SIMPLE_HCLK_EVENT -> four byte integer containing
a HINS clock event value,
CNV_HCLK_EVENT -> four byte integer containing a
HINS clock event value,
CNV_HCLK_EVENT_LONG -> four byte integer containing a
HINS clock event value,
CNV_SIMPLE_NCLK_EVENT -> four byte integer containing
an NML clock event value,
CNV_NCLK_EVENT -> four byte integer containing
an NML clock event value,
CNV_NCLK_EVENT_LONG -> four byte integer containing
an NML clock event value,
CNV_MIBS_EVENT -> four byte integer containing an
MIBS clock event value,
CNV_MIBS_EVENT_LONG -> four byte integer containing an
MIBS clock event value,
CNV_RRBS_EVENT -> four byte integer containing an
RRBS clock event value,
CNV_RRBS_EVENT_LONG -> four byte integer containing an
RRBS clock event value,
CNV_TVBS_EVENT -> four byte integer containing a
TVBS clock event value,
CNV_SIMPLE_MDAT_FRAME -> four byte integer containing
an MDAT frame value,
CNV_MDAT_FRAME -> four byte integer containing an
MDAT frame value,
CNV_MDAT_FRAME_LONG -> four byte integer containing an
MDAT frame value,
CNV_NOTIFY_CATEGORY -> four byte integer containing
a notify category value,
CNV_NOTIFY_PRIORITY -> four byte integer containing
a notify priority value,
CNV_NOTIFY_DATA_TYPE -> four byte integer containing
a notify data type value,
CNV_PRIMARY_TRANSFORM -> four byte integer containing
a primary transform value,
CNV_PRIMARY_TRANSFORM_LONG -> four byte integer
containing a primary
transform value,
CNV_COMMON_TRANSFORM -> four byte integer containing
a common transform value,
CNV_COMMON_TRANSFORM_LONG -> four byte integer
containing a common
transform value,
CNV_STATE_DEVICE -> four byte integer containing a
state device index,
CNV_STATE_VALUE -> STATE_VALUE structure containing a
state value specification,
CNV_DATA_EVENT -> DATA_EVENT_DATA structure containing
a data event specification,
CNV_STATE_EVENT -> DATA_EVENT_DATA structure containing
a state data event specification,
CNV_TCLK_EVENT -> DATA_EVENT_DATA structure containing
a TCLK data event specification,
CNV_DATA_SOURCE -> DATA_SOURCE_DATA structure
containing a data source
specification,
CNV_SDA_DIR -> four byte integer containing an
SDA directory value (obsolete),
CNV_SDA_USAGE -> four byte integer containing an
SDA usage value,
CNV_SDA_FILE -> SDA_FILE_VALUE structure
containing an SDA file value
specification,
CNV_SDA_CASE -> four byte integer containing an
SDA case value (for Collider shot),
CNV_EXT_SDA_CASE -> SDA_CASE_VALUE structure
containing an SDA case value
specification,
CNV_EXT_SDA_SUBCASE -> SDA_CASE_VALUE structure
containing an SDA subcase value
specification,
CNV_FTP_CLASS -> four byte integer containing an
FTP class value,
CNV_SNP_CLASS -> four byte integer containing a
SNP class value,
CNV_COMPARATOR -> four byte integer containing a
comparator value,
CNV_DEVICE_DATA_TYPE -> four byte integer containing a
device data type value,
CNV_ALARM_LIST -> four byte integer containing an
alarm list value,
CNV_ALARM_HANDLER_CODE -> four byte integer containing
an alarm handler code value,
CNV_ALARM_LIMIT_TYPE -> convert a 4 byte analog alarm
limit type value,
CNV_ALARM_LIMIT_TYPE_SHORT -> convert a 4 byte
analog alarm limit type
value (short string),
CNV_ALARM_LIMIT_DATA_TYPE -> convert a 4 byte
analog alarm limit data
type value,
CNV_ALARM_LIMIT_DATA_TYPE_SHORT -> convert a 4 byte
analog alarm limit
data type value
(short string),
CNV_ALARM_POST_METHOD -> convert a 4 byte alarm
post method value,
CNV_ALARM_POST_METHOD_SHORT -> convert a 4 byte
alarm post method value
(short string),
CNV_ALARM_HI_LOW_STATUS -> convert a 4 byte analog
alarm high/low status value,
CNV_ALARM_FTD -> convert a 4 byte alarm FTD value,
CNV_NODE_SYSTEM -> four byte integer containing a
node system type value,
CNV_NODE_HARDWARE -> four byte integer containing a
node hardware type value,
CNV_NODE_SOFTWARE -> four byte integer containing a
node software type value,
CNV_NODE_STATUS -> four byte integer containing a
node status type value,
CNV_NODE_AREA -> four byte integer containing a
node area type value,
CNV_NODE_OPSYS -> four byte integer containing a
node operating system type value,
CNV_STATE_FTD_INDEX -> four byte integer containing a
state FTD index,
CNV_ERROR_CATEGORY -> four byte integer containing
an error category value,
CNV_ERROR_FACILITY -> four byte integer containing
an error facility value,
CNV_ERROR_CLASS -> error class string,
CNV_LJ_USER_DIRECTORY -> convert a Lumberjack user
directory string,
CNV_LJ_USER_FILE -> convert a Lumberjack user file
name string,
CNV_DEVICE_VALUE -> convert an ACNET device value
contained in an ACNET_DEVICE_VALUE
structure,
CNV_SWITCH -> CNV_SWITCH_NAME_LEN character string
containing a network switch name,
CNV_CONTROL_SYSTEM_TYPE -> four byte integer containing
a control system type value,
CNV_FOREIGN_SYSTEM_TYPE -> four byte integer containing
a foreign control
system type value,
CNV_EPICS_DATA_TYPE -> four byte integer containing
an EPICS data type value,
CNV_APACS_DATA_TYPE -> four byte integer containing
an APACS data type value,
CNV_LABVIEW_DATA_TYPE -> four byte integer containing
a LabView data type value,
CNV_OPC_DATA_TYPE -> four byte integer containing
an OPC data type value,
CNV_SNMP_DATA_TYPE -> four byte integer containing
an SNMP data type value,
CNV_SIEMENS_S7_DATA_TYPE -> four byte integer
containing a Siemens S7
data type value,
CNV_FOREIGN_DATA_TYPE -> FOREIGN_DATA_TYPE_INFO
structure containing
a foreign data type value,
CNV_SNAP_MANAGER_SYSTEM -> four byte integer
containing a snapshot
manager system value,
user data type id -> user data type defined by an
earlier call to
'create_user_data_type_c')
[start_index] offset index into the ASCII buffer to begin conversion
starting at 1 (default is 1)
This function returns status values as follows:
CBS_OK successful conversion
CBS_INVARG invalid number of characters or data type
CBS_MEMFAIL dynamic memory allocation failure
otherwise negative of location of first bad character
This function requires the following include files:
cnsparam_h, cns_data_structs_h, cbslib_h, acnet_errors_h
Related functions:
numeric_to_ascii(_c), numeric_default_length_c, numeric_data_length_c,
numeric_fundamental_type_c, numeric_values_c, numeric_to_float_c,
window_input_value(_c), get_logical_strings, get_enumerated_strings,
set_logical_strings, set_enumerated_strings_c,
get_enumerated_string_array_c, set_enumerated_string_array_c,
create_user_data_type_c, get_bit_mask_strings_c,
set_bit_mask_strings_c, clib_sscanf, clib_n_sscanf_c, clib_sprintf,
clib_sprintfx, clib_vsprintf, clib_vsprintfx, clib_printf,
clib_fprintf, winput(_c), enum_type_menu_info_c,
numeric_convert_type_id_c, numeric_convert_tuner_c,
build_sda_case_value_c
C/C++ usage:
char input_buffer[] = " 4";
int status;
int value;
int num_chars = 3;
int data_type = CNV_LONG;
int start_index = 1;
status = ascii_to_numeric_c((void *) &value,num_chars,input_buffer,
data_type,start_index);