tb_property_add_text(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is tb_property_add_text(9) from the Kernel API Manual, and it's literally the page for tb_property_add_text β€” Adds string property to directory. That's the whole name vibe. πŸ’…

✨ SYNOPSIS ✨

this is the exact signature, no cap:

int tb_property_add_text (struct tb_property_dir *parent , const char
       *key , const char *text );

πŸŽ€ ARGUMENTS πŸŽ€

  • parent β€” the directory to add the property to. It's the parent directory in question.
  • key β€” the key for the property.
  • text β€” the string to add.

🌸 DESCRIPTION 🌸

Function takes a copy of text and adds it to the directory. That's it β€” it's giving very "copy the string, then drop it into the directory" energy. ✨

πŸ¦‹ RETURN πŸ¦‹

0 on success, negative errno otherwise. So if you get 0, slay; if it's negative, that's the errno saying something went sideways. πŸ’€

πŸ’… SEE ALSO πŸ’…

Kernel file ./drivers/thunderbolt/property.c, plus the whole friend group:


🫢 that's the page, bestie! it lives in ./drivers/thunderbolt, dated October 2026, and it's literally tb_property_add_text(9). bye! πŸ’–

πŸ“¦ where this page comes from