nsCRT::memset(map, 0, sizeof(map));
memset(map, 0, sizeof(map));
GenerateSingleByte(nsCharsetInfo* aSelf){   PRUint32 map[UCS2_MAP_LEN];  PRUint8 mb[256];  PRUint16 wc[256];  int i;  nsCRT::memset(map, 0, sizeof(map));  for (i = 0; i < 256; ++i) {    mb[i] = i;  }  int len = MultiByteToWideChar(aSelf->mCodePage, 0, (char*) mb, 256, wc, 256);#ifdef NS_DEBUG  if (len != 256) {    printf("%s: MultiByteToWideChar returned %d\n", aSelf->mName, len);  }#endif  for (i = 0; i < 256; ++i) {    //win95/98 have problem in some raster fonts (MS Sans Serif and MS Serif) in    //rendering 0xb7. So let's skip this in charmap, that will let system resort     //to other fonts.      if ( i == 0x00b7 && IsWin95OrWin98() && !UseAFunctions())      continue;    ADD_GLYPH(map, wc[i]);  }  return MapToCCMap(map);}