bootinfo_getarg
bool bootinfo_getarg(const char *, char *, size_t);
if (bootinfo_getarg("root", bootspec_buf, sizeof(bootspec_buf))) {
if (bootinfo_getarg("flags", flags, sizeof(flags))) {