memset( &desc, 0, sizeof(REGDESC) );
XP_MEMSET( &desc, 0, sizeof(REGDESC) );
static REGERR nr_CreateEntryString(REGFILE *reg, REGDESC *pParent, char *name, char *value){    REGDESC desc;    REGERR  err;    XP_ASSERT(reg);    XP_ASSERT(pParent);    XP_ASSERT(name);    XP_ASSERT(value);    memset( &desc, 0, sizeof(REGDESC) );    err = nr_AppendName(reg, name, &desc);    if (err != REGERR_OK)        return err;    err = nr_AppendString(reg, value, &desc);    if (err != REGERR_OK)        return err;    desc.type = REGTYPE_ENTRY_STRING_UTF;    desc.left = pParent->value;    desc.down = 0;    desc.parent = pParent->location;    err = nr_AppendDesc(reg, &desc, &pParent->value);    if (err != REGERR_OK)        return err;    /* printf("nr_AddEntry: %s=%s @0x%lx\n", name, value, pParent->value); */    return nr_WriteDesc(reg, pParent);}   /* nr_CreateEntryString */