tb_property_add_dir(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ tb_property_add_dir(9) πŸ¦‹

Bestie, welcome to the Kernel API Manual corner of the group chat. Today's main character is tb_property_add_dir, and the vibe is extremely "adds a directory to the parent directory." It's giving focused, cute, no notes. ✨


πŸ’– NAME πŸ’–

tb_property_add_dir β€” adds a directory to the parent directory. Literally that. Iconic behavior. πŸŽ€

πŸ“œ SYNOPSIS πŸ“œ

       int tb_property_add_dir (struct tb_property_dir *parent , const char
       *key , struct tb_property_dir *dir );

That's the whole signature, bestie β€” int return, three arguments, no cap. πŸ‘‘

🌸 ARGUMENTS 🌸

  • parent β€” directory to add the property. This is the parent directory in the situation. The main character's parent, if you will. 🫢
  • key β€” key for the property. The key! The label! The little name tag. πŸ’…
  • dir β€” directory to add. Yes, bestie, you're adding a directory. We love a whole directory moment. πŸ¦‹

πŸ’… RETURN πŸ’…

0 on success, negative errno otherwise. Periodt. So: 0 means slay, negative errno means the error girlies said no. No cap. πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/thunderbolt/property.c β€” the source file in the chat. And here's the whole friend group:


Mwah πŸ’‹ β€” this page came from ./drivers/thunderbolt, dated October 2026, and it's titled tb_property_add_dir(9). Byeee, go add that directory bestie 🫢✨

πŸ“¦ where this page comes from