tb_property_add_dir(9)
π¦ 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:
tb_property_parse_dir(9)tb_property_create_dir(9)tb_property_free_dir(9)tb_property_format_dir(9)tb_property_copy_dir(9)tb_property_merge_dir(9)tb_property_add_immediate(9)tb_property_add_data(9)tb_property_add_text(9)tb_property_remove(9)tb_property_find(9)tb_property_get_next(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms