(void) sprintf(buf, "%s.%s", FORM_NAME, name);
len = strlen(FORM_NAME) + strlen(name) + 2; pbuf = XtStackAlloc(len, buf); if (pbuf == NULL) return FALSE; (void) sprintf(pbuf, "%s.%s", FORM_NAME, name);
SetResourceByName(shell, name, res_name, value)Widget shell;char * name, * res_name;XtArgVal value;{  Widget temp_widget;  char buf[BUFSIZ];  (void) sprintf(buf, "%s.%s", FORM_NAME, name);  if ( (temp_widget = XtNameToWidget(shell, buf)) != NULL) {    SetResource(temp_widget, res_name, value);    return(TRUE);  }  return(FALSE);}