diag_ftp_2c4(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, this is diag_ftp_2c4(9) from the Kernel API Manual β€” it's literally the DIAGNOSE X'2C4' service call πŸ’– iconic behavior only.


πŸ¦‹ SYNOPSIS πŸ¦‹

int diag_ftp_2c4 (struct diag_ftp_ldfpl *fpl , enum hmcdrv_ftp_cmdid cmd
);

πŸ’… ARGUMENTS πŸ’…

  • fpl β€” pointer to prepared LDFPL 🫢
  • cmd β€” FTP command to be executed ⚑

🌸 DESCRIPTION 🌸

So this function performs a DIAGNOSE X'2C4' call with the (input/output) FTP parameter list fpl and FTP function code cmd ✨. In case of an error, the function does nothing and returns an (negative) error code 😭 β€” no extra drama, just a sad little negative number.


πŸŽ€ NOTES πŸŽ€

  1. This function only initiates a transfer, so the caller must wait for completion (asynchronous execution) β€” it's giving main character energy, but it does not wait around for the ending πŸ’€.
  2. The FTP parameter list fpl must be aligned to a double-word boundary, fr fr 🧚.
  3. fpl->bufaddr must be a real address, 4k aligned β€” no cap, this one matters πŸ”₯.

πŸ”₯ SEE ALSO πŸ”₯

Go check out the Kernel file ./drivers/s390/char/diag_ftp.c, plus struct diag_ftp_ldfpl(9), diag_ftp_handler(9), diag_ftp_cmd(9), diag_ftp_startup(9), and diag_ftp_shutdown(9) β€” the whole squad is linked up πŸ’¬πŸ‘‘


This lil masterpiece comes from the source path ./drivers/s390/char, carries the diag_ftp_2c4(9) name, and is dated October 2026 β€” periodt πŸ’…πŸŽ€

πŸ“¦ where this page comes from