rpmsg_sendto(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– rpmsg_sendto(9) πŸ’–

okay so bestie, this is the Kernel API Manual page for rpmsg_sendto(9), and it's giving β€œsend a message to a remote processor but make it destination-specific.” 🫢✨


✨ NAME ✨

rpmsg_sendto β€” send a message across to the remote processor, specify dst

πŸŽ€ SYNOPSIS πŸŽ€

int rpmsg_sendto (struct rpmsg_endpoint *ept , const void *data , int
       len , u32 dst );

πŸ’… ARGUMENTS πŸ’…

  • ept β€” the rpmsg endpoint. the main character you're sending through. πŸ‘‘
  • data β€” payload of message. the actual message snack. πŸ“
  • len β€” length of payload. how much of the payload you're bringing. ✨
  • dst β€” destination address. where it's headed, no cap. 🎯

🌸 DESCRIPTION 🌸

okay so this function sends data of length len to the remote dst address. periodt. The message will be sent to the remote processor which the ept endpoint belongs to, using ept's address as source. iykyk. ✨

In case there are no TX buffers available, the function will block until one becomes available, or a timeout of 15 seconds elapses. 😭 When the latter happens, -ERESTARTSYS is returned. not me waiting on a buffer like it's a text back. πŸ’€

bestie, it can only be called from process context (for now). that's the vibe check. πŸ’…

πŸ¦‹ RETURN πŸ¦‹

0 on success and an appropriate error value on failure. slay when it's 0, obviously. πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/rpmsg/rpmsg_core.c


mwah πŸ’‹ this page's source/version line lives at ./drivers/rpmsg, the date is October 2026, and the page is literally rpmsg_sendto(9) β€” bye bestie! 🫢✨

πŸ“¦ where this page comes from