memset( &desc, 0, sizeof(REGDESC) );
XP_MEMSET( &desc, 0, sizeof(REGDESC) );
static REGERR nr_CreateEntry(REGFILE *reg, REGDESC *pParent, char *name,    uint16 type, char *value, uint32 length){	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_AppendData(reg, value, length, &desc);    if (err != REGERR_OK)		return err;    desc.type = type;	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_CreateEntry */