write_byte_cnt_show(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… write_byte_cnt_show(9) β€” the kernel API manual, but make it cute

okay so bestie, welcome to write_byte_cnt_show from the Kernel API Manual ✨ this one is a tiny little show-and-tell function and honestly it's giving "quiet kid in the back of the class who's actually a genius" energy πŸŽ€


🌸 NAME 🌸

write_byte_cnt_show β€” write byte count, aka the raw count of bytes written to tape 🎞️✨ no cap, that's literally all it is.


πŸ¦‹ SYNOPSIS πŸ¦‹

ssize_t write_byte_cnt_show (struct device *dev , struct
device_attribute *attr , char *buf );

three args, one return type, zero drama 🫢


πŸ’– ARGUMENTS πŸ’–

  • dev β€” a struct device πŸ–₯️ the device in question, just vibing there being a device.
  • attr β€” the attribute structure πŸŽ€ the whole reason we're all here.
  • buf β€” the buffer where the formatted data gets returned πŸ“₯ like, this is where you put the pretty output, bestie.

πŸ‘‘ SEE ALSO πŸ‘‘

lowkey the whole friend group lives in the kernel file ./drivers/scsi/st.c and you should absolutely go say hi to all of them πŸ’œ:

periodt πŸ’… they're all icons, they all show things, it's a whole squad 🌈


🫢 friendly reminder: this page lives under ./drivers/scsi β€” that's the neighborhood, iykyk.

and that's the whole page, bestie πŸ˜­πŸ’€ this cutie came from ./drivers/scsi, dated October 2026, and it's filed as write_byte_cnt_show(9) β€” slay, go read some tape stats βœ¨πŸŽ€πŸ’–

πŸ“¦ where this page comes from