scsw_stctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scsw_stctl β€” it's giving "just give me the stctl field" (Kernel API Manual, section 9, bestie)

okay so real talk, this page is a kernel API manual page, like section 9 energy, and the whole entire vibe is: one tiny helper, one big job. let's get into it ✨


🌸 NAME 🌸

scsw_stctl β€” literally just returns the stctl field, that's the whole gig πŸŽ€


✨ SYNOPSIS ✨

u32 scsw_stctl (union scsw *scsw );

one function, one pointer, no drama. slay.


🫢 ARGUMENTS 🫢

  • scsw β€” pointer to scsw. yep. that's the whole argument list. it's giving minimalism icon behavior πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea: scsw_stctl returns the value of the stctl field of the specified scsw, regardless of whether it is a transport mode or command mode scsw.

that's it. that's the function. no cap, it just hands you the stctl value either way. lowkey the most unbothered function in the whole header file and honestly? iconic. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

bestie there is SO much more lore where this came from. the source of truth lives in the kernel file ./arch/s390/include/asm/scsw.h, and the whole friend group is here:

go read them all, i'll wait πŸ’œ


πŸ’€ reminder: this page is from ./arch/s390/include/asm and it's dated October 2026, so if you're reading this in some other timeline, that's a you problem bestie 🧚

and that's the whole page!! footer said scsw_stctl(9), path ./arch/s390/include/asm, October 2026 β€” and honestly it ate. periodt. πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from