tb_property_add_immediate(9)
β¨ tb_property_add_immediate(9) β¨
okay so bestie, welcome to the kernel API manual for tb_property_add_immediate β yes that's a (9) section, we're in kernel-doc territory now, and honestly? iconic π
πΈ NAME πΈ
tb_property_add_immediate β adds an immediate property to a directory π
π¦ SYNOPSIS π¦
int tb_property_add_immediate (struct tb_property_dir *parent , const
char *key , u32 value );
like, yes, she returns an int, and yes, she takes three things. slay π
β ARGUMENTS β
parentβ the directory you're adding the property to π«Ά think of it as the group chat you're dropping a message into.keyβ the key for the property π every property needs a name, no anonymous vibes here.valueβ the immediate value you're storing with the property, typed as au32π it's immediate, it's right there, it's giving present tense.
π₯ RETURN π₯
0 on success π β and a negative errno otherwise π (so if it's negative, something went sideways, fr fr).
π SEE ALSO π
first up, the kernel file this all lives in: ./drivers/thunderbolt/property.c π then the whole property 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_data(9)tb_property_add_text(9)tb_property_add_dir(9)tb_property_remove(9)tb_property_find(9)tb_property_get_next(9)
go read them, they're all main characters too π
that's the whole page bestie, no notes π β sourced from ./drivers/thunderbolt and dated October 2026, so like, she's from the future and she's thriving π§β¨
π¦ 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