int count = TEST_ROUNDS;
size_t count = TEST_ROUNDS;
main (void){  int count = TEST_ROUNDS;  int result = 0;  mtrace ();  /* Just a seed.  */  srandom (TEST_ROUNDS);  while (count--)    {      int idx = random () % nmodules;      if (modules[idx].state == unloaded)	{	  char outbuf[10000];	  char *inptr = (char *) inbuf;	  size_t insize = sizeof (inbuf) - 1;	  char *outptr = outbuf;	  size_t outsize = sizeof (outbuf);	  /* Load the module and do the conversion.  */	  modules[idx].cd = iconv_open ("UTF-8", modules[idx].name);	  if (modules[idx].cd == (iconv_t) -1)	    {	      printf ("opening of %s failed: %m\n", modules[idx].name);	      result = 1;	      break;	    }	  modules[idx].state = loaded;	  /* Now a simple test.  */	  if (iconv (modules[idx].cd, &inptr, &insize, &outptr, &outsize) != 0	      || *inptr != '\0')	    {	      printf ("conversion with %s failed\n", modules[idx].name);	      result = 1;	    }	}      else	{	  /* Unload the module.  */	  if (iconv_close (modules[idx].cd) != 0)	    {	      printf ("closing of %s failed: %m\n", modules[idx].name);	      result = 1;	      break;	    }	  modules[idx].state = unloaded;	}    }  for (count = 0; count < nmodules; ++count)    if (modules[count].state == loaded && iconv_close (modules[count].cd) != 0)      {	printf ("closing of %s failed: %m\n", modules[count].name);	result = 1;      }  return result;}