rmi_read_block(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rmi_read_block(9) πŸŽ€

Okay bestie, welcome to the Kernel API Manual entry for rmi_read_block(9). It’s giving β€œread a block of bytes,” and honestly? Iconic.


🌸 NAME 🌸

rmi_read_block β€” read a block of bytes. That’s the whole name. Slay.

✨ SYNOPSIS ✨

int rmi_read_block (struct rmi_device *d , u16 addr , void *buf , size_t
       len );

πŸŽ€ ARGUMENTS πŸŽ€

  • d β€” Pointer to an RMI device. Like, the RMI device pointer, main character energy.
  • addr β€” The start address to read from. Where the reading begins, periodt.
  • buf β€” The read buffer. The memory spot where the bytes go.
  • len β€” Length of the read buffer. Gotta know how much room we’re working with, no cap.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the tea: this reads a block of byte data using the underlying transport protocol into the memory pointed by buf. It returns 0 on success or a negative error code. Success = 0, negative error code = not the vibe. Fr fr.

πŸ‘‘ SEE ALSO πŸ‘‘

Go check these out too, bestie β€” they’re all in the same universe:


Signed, sealed, delivered from the source/version line ./drivers/input/rmi4, dated October 2026. Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from