scsw_fctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 to scsw. 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):


πŸ’€ Reminder bestie: this page is short on purpose. Don't go inventing extra behavior for scsw_fctl β€” she returns the fctl field, 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