scsw_cc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scsw_cc β€” return scsw cc field

okay bestie, welcome to the scsw_cc(9) page from the Kernel API Manual β€” yes it's a section 9 kernel-internals situation, don't panic, we got this 🫢


✨ NAME ✨

scsw_cc β€” return scsw cc field. that's it. that's the whole job. iconic minimalism honestly πŸ‘‘


🌸 SYNOPSIS 🌸

u32 scsw_cc (union scsw *scsw );

πŸŽ€ ARGUMENTS πŸŽ€

  • scsw β€” pointer to scsw. like, a pointer to a union scsw. that's your whole input, she's low-maintenance πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does she actually do? she returns the value of the cc field of the specified scsw.

and here's the slay part: it does not care whether that scsw is a transport mode scsw or a command mode scsw β€” either way, you get the cc field back. no mode-checking, no drama, no "sorry bestie wrong variant." she just hands you the value πŸ”₯


πŸ’– SEE ALSO πŸ’–

the link-up section, aka the whole extended friend group that lives in the kernel file ./arch/s390/include/asm/scsw.h ✨


ngl, if you're digging through s390 channel-subsystem-word internals, you already have main character energy. go read the scsw_is_valid_* family next, bestie, they're all right there πŸ‘‘

that's the whole page fr fr πŸ’œ β€” this little love letter lives in ./arch/s390/include/asm, and it's dated October 2026, from the Kernel API Manual. bye bestie, go read your status fields 🌈✨

πŸ“¦ where this page comes from