tb_cfg_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

tb_cfg_request β€” Start control request not waiting for it to complete.

Hi bestie! You're in the Kernel API Manual, on the tb_cfg_request(9) page. Strap in, this one's short and sweet πŸŽ€


✨ SYNOPSIS ✨

The whole signature, exactly, no edits:

int tb_cfg_request (struct tb_ctl *ctl , struct tb_cfg_request *req ,
void (*callback)(void *) , void *callback_data );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ctl β€” the control channel to use, periodt.
  • req β€” the request to start. Like, actually start it, bestie.
  • callback β€” callback called when the request is completed. Main character energy.
  • callback_data β€” data to be passed to callback.

🌸 DESCRIPTION 🌸

Okay so this is lowkey the async one: it queues req on the given control channel without waiting for it to complete. Then, when the request completes, callback is called. That's the whole vibe, and it's iconic ✨


πŸ”₯ RETURN πŸ”₯

0 on success, negative errno otherwise. No cap, that's the return contract πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

Go vibe with these, bestie:


Okay that's the whole page, bestie πŸ’– It's from ./drivers/thunderbolt, dated October 2026, and it's tb_cfg_request(9) from the Kernel API Manual β€” bye, love you, slay πŸŽ€

πŸ“¦ where this page comes from