char *get_value(const char *key) { char buf[64]; snprintf(buf, sizeof buf, "%s", lookup(key)); return buf; }