tb_property_add_data(9)
π NAME π
okay so bestie, meet tb_property_add_data from the Kernel API Manual β¨ β the little function whose whole job is adding an arbitrary data property to a directory. No cap, that's the name and the vibe. π
π¦ SYNOPSIS π¦
int tb_property_add_data (struct tb_property_dir *parent , const char
*key , const void *buf , size_t buflen );
πΈ ARGUMENTS πΈ
parentβ the directory you're adding this property to πkeyβ the key for the property, iykyk πbufβ the data buffer you're adding π«Άbuflenβ number of bytes in the data buffer, literally the length π
β¨ DESCRIPTION β¨
The function takes a copy of buf and adds it to the directory. That's the whole tea β β copy, add, done. π
π RETURN π
0on success π- negative
errnootherwise π
π₯ SEE ALSO π₯
- Kernel file
./drivers/thunderbolt/property.c - The property-posse:
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_text(9),tb_property_add_dir(9),tb_property_remove(9),tb_property_find(9),tb_property_get_next(9)π
mwah π β this one's signed off from ./drivers/thunderbolt, dated October 2026, and it's tb_property_add_data(9) all the way. π§ββοΈπ
π¦ 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