tb_property_add_text(9)
π 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:
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_dir(9)tb_property_remove(9)tb_property_find(9)tb_property_get_next(9)
π«Ά 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
- 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