fdt_find_add_string_(9)
π NAME π
Bestie, welcome to the fdt_find_add_string_(9) page π
the whole vibe is fdt_find_add_string_ β find or allocate a string. That's it, that's the name, and honestly it ate β¨
β¨ SYNOPSIS β¨
The signature is giving main-character energy, and it goes exactly like this:
int fdt_find_add_string_ (void *fdt , const char *s , int slen , int
*allocated );
No cap, that's the whole synopsis π
π ARGUMENTS π
fdtβ pointer to the device tree to check/adjust πsβ string to find/add π¦slenβ literally-- undescribed --in the manual π bestie, we do not invent lore, we just report itallocatedβ set to0if the string was found,1if not found and so allocated. The page also says: βIgnored if can_assume(NO_ROLLBACK) return offset of string in the string table (whether found or added)β π keep that exact energy, okay?
π SEE ALSO π
Kernel file ./scripts/dtc/libfdt/fdt_rw.c β go snoop if you're obsessed π₯
mwah π this little icon comes from ./scripts/dtc/libfdt, October 2026 edition, and yes the source/version and date are part of the cute sign-off, periodt π«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms