hmcdrv_ftp_parse(9)
π NAME π
hmcdrv_ftp_parse β the HMC drive FTP command parser, bestie β¨
Okay so real talk, this is the little function that looks at a raw FTP command string and goes "mmhmm, I know exactly what you are" and hands you back a nice structured spec. She's giving parser main character energy, honestly π
πΈ SYNOPSIS πΈ
int hmcdrv_ftp_parse (char *cmd , struct hmcdrv_ftp_cmdspec *ftp );
π¦ ARGUMENTS π¦
cmdβ the FTP command string, and it's formatted like"<cmd> <filename>". That's the whole vibe: a command, a space, a filename. Don't overthink it πftpβ a pointer to the FTP command specification buffer, and heads up, it's an output param. So this is where the parsed goodness lands. She fills it in for you, queen π«Ά
β RETURN β
0 on success π β and if it's not 0, it's a (negative) error code, so like, something went sideways, no cap. Check your vibes and try again π
π SEE ALSO π
Peep these, they're all in the kernel file ./drivers/s390/char/hmcdrv_ftp.c π
struct hmcdrv_ftp_ops(9)hmcdrv_ftp_cmd_getid(9)hmcdrv_ftp_do(9)hmcdrv_ftp_probe(9)hmcdrv_ftp_cmd(9)hmcdrv_ftp_startup(9)hmcdrv_ftp_shutdown(9)
Like, the whole friend group fr fr πβ¨
Little reminder babe: ftp is output-only, so pass her a real buffer. Don't be out here handing over nonsense and then acting surprised π
Mwah π this page lives in ./drivers/s390/char, dated October 2026 β it's an icon, it's a legend, and honestly? It ate. Periodt π§ββοΈπ
π¦ 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