tb_property_add_immediate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ tb_property_add_immediate(9) ✨

okay so bestie, welcome to the kernel API manual for tb_property_add_immediate β€” yes that's a (9) section, we're in kernel-doc territory now, and honestly? iconic πŸ’…


🌸 NAME 🌸

tb_property_add_immediate β€” adds an immediate property to a directory πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

int tb_property_add_immediate (struct tb_property_dir *parent , const
       char *key , u32 value );

like, yes, she returns an int, and yes, she takes three things. slay πŸ’–

⭐ ARGUMENTS ⭐

  • parent β€” the directory you're adding the property to 🫢 think of it as the group chat you're dropping a message into.
  • key β€” the key for the property πŸ”‘ every property needs a name, no anonymous vibes here.
  • value β€” the immediate value you're storing with the property, typed as a u32 🌟 it's immediate, it's right there, it's giving present tense.

πŸ”₯ RETURN πŸ”₯

0 on success πŸŽ‰ β€” and a negative errno otherwise 😭 (so if it's negative, something went sideways, fr fr).

🌈 SEE ALSO 🌈

first up, the kernel file this all lives in: ./drivers/thunderbolt/property.c πŸ“ then the whole property friend group:

go read them, they're all main characters too πŸ‘‘


that's the whole page bestie, no notes πŸ’œ β€” sourced from ./drivers/thunderbolt and dated October 2026, so like, she's from the future and she's thriving 🧚✨

πŸ“¦ where this page comes from