fdt_find_add_string_(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 it
  • allocated β€” set to 0 if the string was found, 1 if 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