buttons = smalloc(nbuttons * sizeof(struct radio)); va_start(ap, nacross); for (i = 0; i < nbuttons; i++) { buttons[i].text = va_arg(ap, char *); buttons[i].id = va_arg(ap, int); } va_end(ap); radioline_common(cp, NULL, 0, nacross, buttons, nbuttons); sfree(buttons);
void bareradioline(struct ctlpos *cp, int nacross, ...){    va_list ap;    va_start(ap, nacross);    radioline_common(cp, nacross, ap);    va_end(ap);}