scsw_fctl(9)
π scsw_fctl β it's giving "give me the fctl field" β¨
Okay bestie, welcome to the Kernel API Manual corner of the universe π this one's a lil kernel API page, and honestly? It's short and sweet and I'm obsessed.
πΈ NAME πΈ
scsw_fctl β returns the scsw fctl field, that's the whole gig π
β¨ SYNOPSIS β¨
u32 scsw_fctl (union scsw *scsw );
π¦ ARGUMENTS π¦
scswβ a pointer toscsw. That's it. That's the arg. She's lowkey simple like that π
π DESCRIPTION π
So what she does: scsw_fctl returns the value of the fctl field of the scsw you hand her, fr fr.
And here's the slay part π β she does it regardless of whether it's a transport mode scsw or a command mode scsw. No vibe check needed, no "oops wrong mode" energy, she just hands you the fctl value either way. Iconic behavior honestly π
π SEE ALSO π
The kernel file ./arch/s390/include/asm/scsw.h, plus literally her entire friend group π«Ά (yes, all of them, no cap):
struct cmd_scsw(9)struct tm_scsw(9)struct eadm_scsw(9)union scsw(9)scsw_is_tm(9)scsw_key(9)scsw_eswf(9)scsw_cc(9)scsw_ectl(9)scsw_pno(9)scsw_actl(9)scsw_stctl(9)scsw_dstat(9)scsw_cstat(9)scsw_cmd_is_valid_key(9)scsw_cmd_is_valid_sctl(9)scsw_cmd_is_valid_eswf(9)scsw_cmd_is_valid_cc(9)scsw_cmd_is_valid_fmt(9)scsw_cmd_is_valid_pfch(9)scsw_cmd_is_valid_isic(9)scsw_cmd_is_valid_alcc(9)scsw_cmd_is_valid_ssi(9)scsw_cmd_is_valid_zcc(9)scsw_cmd_is_valid_ectl(9)scsw_cmd_is_valid_pno(9)scsw_cmd_is_valid_fctl(9)scsw_cmd_is_valid_actl(9)scsw_cmd_is_valid_stctl(9)scsw_cmd_is_valid_dstat(9)scsw_cmd_is_valid_cstat(9)scsw_tm_is_valid_key(9)scsw_tm_is_valid_eswf(9)scsw_tm_is_valid_cc(9)scsw_tm_is_valid_fmt(9)scsw_tm_is_valid_x(9)scsw_tm_is_valid_q(9)scsw_tm_is_valid_ectl(9)scsw_tm_is_valid_pno(9)scsw_tm_is_valid_fctl(9)scsw_tm_is_valid_actl(9)scsw_tm_is_valid_stctl(9)scsw_tm_is_valid_dstat(9)scsw_tm_is_valid_cstat(9)scsw_tm_is_valid_fcxs(9)scsw_tm_is_valid_schxs(9)scsw_is_valid_actl(9)scsw_is_valid_cc(9)scsw_is_valid_cstat(9)scsw_is_valid_dstat(9)scsw_is_valid_ectl(9)scsw_is_valid_eswf(9)scsw_is_valid_fctl(9)scsw_is_valid_key(9)scsw_is_valid_pno(9)scsw_is_valid_stctl(9)scsw_cmd_is_solicited(9)scsw_tm_is_solicited(9)scsw_is_solicited(9)
π Reminder bestie: this page is short on purpose. Don't go inventing extra behavior forscsw_fctlβ she returns thefctlfield, both modes, done. Periodt.
Okay that's the whole page, you ate that π this lil doc lives in ./arch/s390/include/asm and it's dated October 2026 β mwah, go read some scsw headers, ily, bye ππ§
π¦ 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