fdt_header_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– fdt_header_size(9) β€” the vibe check on your DTB header πŸ’–

okay so bestie, welcome to fdt_header_size(9), a Kernel API Manual page and honestly? a little icon. she's short, she's sweet, she tells you how big a flattened device tree's header is. that's the whole gig. no cap. πŸŽ€


✨ NAME ✨

fdt_header_size β€” return the size of the tree's header πŸ¦‹

like literally just the header size. she is not doing anything else for you today. main character energy but make it minimal. πŸ’…


🌸 SYNOPSIS 🌸

size_t fdt_header_size (const void *fdt );

one function, one argument, zero drama. copy it exactly, don't get cute with the spacing β€” yes, there's a space before that closing paren and we're respecting it. πŸ™ˆ


🧚 ARGUMENTS 🧚

  • fdt β€” pointer to a flattened device tree. that's it. that's the whole input. she just wants the pointer, she's lowkey easy to please. 🫢

⭐ RETURN ⭐

size of DTB header in bytes πŸ”₯

so when it comes back, you get a size_t and it's counting bytes of the DTB header. byte-by-byte accurate. periodt. πŸ’œ

ngl if you were hoping for more lore, this page is not that. she's a one-liner queen and we respect her for it. πŸ‘‘

🌈 SEE ALSO 🌈

okay this is the part where the page goes off. buckle up bestie, the whole libfdt family is here and they all pulled up to the function:

first, where she lives: Kernel file ./scripts/dtc/libfdt/libfdt.h πŸ“

and then, in order, the entire extended friend group:

like. ninety-six besties. she knows everyone at the party. πŸ’€βœ¨


πŸ’– that's the page!! short, sweet, header-sized. mwah. πŸ“

and a lil sign-off from the source, since we're being proper about it: this one's brought to you by ./scripts/dtc/libfdt, dated October 2026, filed under fdt_header_size(9) in your friendly neighbourhood Kernel API Manual. bye bestie, go read a header πŸ§šβ€β™€οΈπŸ‘‘πŸ¦‹

πŸ“¦ where this page comes from