STRUCT HMCDRV_FTP_CMDSPEC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this is the Kernel API Manual page for struct hmcdrv_ftp_cmdspec(9) β€” section 9, kernel API, and it's literally the FTP command specification struct. It's giving β€œone struct to describe one FTP command,” and bestie, it ate. πŸ’…

πŸ’– NAME πŸ’–

struct hmcdrv_ftp_cmdspec β€” FTP command specification. That's the whole vibe: it's the command spec, periodt. ✨

✨ SYNOPSIS ✨

       struct hmcdrv_ftp_cmdspec {
           enum hmcdrv_ftp_cmdid id;
           loff_t ofs;
           const char *fname;
           void __kernel *buf;
           size_t len;
        };

πŸŽ€ Members πŸŽ€

okay bestie, here's the member-by-member vibe check β€” every field is iconic, no skips:

  • id β€” FTP command ID. This is the ID, front and center. πŸ‘‘
  • ofs β€” offset in file. Literally where you are in the file. πŸ“
  • fname β€” filename (ASCII), null-terminated. ASCII, bestie, and null-terminated β€” don't forget the terminator. πŸŽ€
  • buf β€” kernel-space transfer data buffer, 4k aligned. Kernel-space, 4k aligned β€” she has requirements and we respect them. πŸ’…
  • len β€” (max) number of bytes to transfer from/to buf. Note the β€œ(max)” β€” that's the max number of bytes, from/to buf. πŸ”₯

🌈 SEE ALSO 🌈

  • Kernel file ./drivers/s390/char/hmcdrv_ftp.h β€” go look, bestie, the header is right there. πŸ¦‹
  • enum hmcdrv_ftp_cmdid(9) β€” the enum bestie to this struct bestie, iykyk. 🫢

mwah πŸ’‹ this little page is from ./drivers/s390/char, dated October 2026 β€” source/version and date, all cute and accounted for. Stay slaying, kernel bestie ✨

πŸ“¦ where this page comes from