scsw_cstat(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… scsw_cstat β€” the scsw_cstat(9) glow-up

okay so real talk, bestie: we're in the Kernel API Manual, and this page is about one tiny little function that's lowkey carrying the whole cstat situation. no cap. let's go 🫢


✨ NAME ✨

scsw_cstat β€” bestie, it returns the scsw cstat field. that's it. that's the whole job. and she ate πŸ’…


🌸 SYNOPSIS 🌸

u32 scsw_cstat (union scsw *scsw );

like, look at her. one argument. no drama. returns a u32. iconic.


πŸŽ€ ARGUMENTS πŸŽ€

  • scsw β€” a pointer to scsw, obviously. literally just hand her the pointer and she'll do the rest. she's not nosy, she's helpful πŸ’–

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this is the part where it gets cute: scsw_cstat returns the value of the cstat field of the specified scsw, regardless of whether it's a transport mode or command mode scsw ✨

read that again. regardless. she does not care which mode you're in, she is not doing a vibe check on your struct, she's just giving you the cstat value. periodt. πŸ‘‘


🌈 SEE ALSO 🌈

the group chat, aka everybody she knows:

like I said. the whole group chat. she knows everyone πŸ’€


ngl there is no warning on this page, she's a good girl, she just returns a u32 and minds her business 🧚

sign-off time bestie πŸ“ this little page lives at ./arch/s390/include/asm, the version/date vibe on it is October 2026, and the manual it's chilling in is scsw_cstat(9). mwah. go forth and read your cstat field πŸ’œπŸŒΈβœ¨

πŸ“¦ where this page comes from