4. Defining Data Types : value_check Routine--Check for Valid Values
 
Share this page                  
value_check Routine--Check for Valid Values
The value_check routine checks for valid values.
For some data types, only certain characters or bit patterns might be valid. This routine checks the patterns for validity. For example, this routine which rejects C data type values which contain null characters.
Place the address of this routine in the dtd_valchk_addr field of the IIADD_DT_DFN structure.