contrib/dsgrid/Src/dsuser.c
void c_dsgeti(char *pnam, int *ival)
{
   if (!strncmp(pnam,"shd",3) || !strncmp(pnam,"SHD",3)) {
      *ival = ds_shadowing;
   }
   else {
      sprintf(ds_emsg,"\n  Parameter name supplied is: %s\n",pnam);
      DSErrorHnd(4, "c_dsgeti", ds_filee, ds_emsg);
   }
}
/*
 *  Get values for integer parameters.
 */
Get values for integer parameters.
Get values for integer parameters .
void c_dsgeti(char *pnam, int *ival)
{
   if (!strncmp(pnam,"shd",3) || !strncmp(pnam,"SHD",3)) {
      *ival = ds_shadowing;
   }
   else {
      sprintf(ds_emsg,"\n  Parameter name supplied is: %s\n",pnam);
      DSErrorHnd(4, "c_dsgeti", ds_filee, ds_emsg);
   }
}
void c_dsgeti ( char * pnam , int * ival ) { if ( ! strncmp ( pnam , " " , 3 ) || ! strncmp ( pnam , " " , 3 ) ) { * ival = ds_shadowing ; } else { sprintf ( ds_emsg , " \n \n " , pnam ) ; DSErrorHnd ( 4 , " " , ds_filee , ds_emsg ) ; } }
Get values for integer parameters.
Get values for integer parameters .