qmi_send_response(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the Kernel API Manual entry for qmi_send_response(9) β€” yes, that's the title and the manual name folded in near the top like a cute little intro instead of a boring duplicated header πŸ’…βœ¨

✨ NAME ✨

qmi_send_response β€” send a response QMI message. that's the whole vibe: you're sending a response QMI message, bestie πŸ’Œ

πŸŽ€ SYNOPSIS πŸŽ€

ssize_t qmi_send_response (struct qmi_handle *qmi , struct sockaddr_qrtr *sq , struct qmi_txn *txn , int msg_id , size_t len , const struct qmi_elem_info *ei , const void *c_struct );

πŸ’… ARGUMENTS πŸ’…

  • qmi β€” QMI client handle; it's your QMI client handle, the main-character handle for this whole operation πŸ‘‘
  • sq β€” destination sockaddr; the destination sockaddr for the message, like the address label bestie 🏷️
  • txn β€” transaction object to use for the message; the transaction object this message should use, no cap 🧾
  • msg_id β€” message id; the message id, obviously, keep it exact πŸ”’
  • len β€” max length of the QMI message; the max length of the QMI message, so yes, a max length, not a suggestion πŸ™ˆ
  • ei β€” QMI message description; the QMI message description, aka the QMI message's whole description situation 🧚
  • c_struct β€” object to be encoded; the object that's gonna be encoded, put it in the codec bestie πŸ’…

🫢 RETURN 🫢

0 on success, negative errno on failure. so: slay = 0, nope = negative errno, periodt 😭

🌈 SEE ALSO 🌈

Kernel file: ./drivers/soc/qcom/qmi_interface.c β€” yes, that exact path, iykyk πŸ‘€

the whole squad, all (9) refs:


xoxo, sourced from ./drivers/soc/qcom, dated October 2026, and this was qmi_send_response(9) β€” bye bestie πŸ«ΆπŸ’–πŸŒˆ

πŸ“¦ where this page comes from