STRUCT HMCDRV_FTP_CMDSPEC(9)
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/tobuf. Note the β(max)β β that's the max number of bytes, from/tobuf. π₯
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms