m argval string into val */
   /* return EBADINT if conversion failed */
   val = (int)strtol(argval,&amp;end,10);
   if (*end!=0)
      return EBADINT;  

   <I>/* &lt;perform custom checks here&gt; */</I>

   /* store the value in parent's ival[] array and increment the argument count */
   parent-&gt;ival[parent-&gt;count++] = val;

   /* return zero to indicate success */
   return 0;
   }</PRE><P STYLE="margin-bottom: 0cm">
Do <U>not</U> print error messages from within <I>scanfn</I> as the
user may wi