scsw_is_valid_cc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

scsw_is_valid_cc(9) πŸ’…

okay bestie, welcome to the Kernel API Manual page for scsw_is_valid_cc β€” it's giving tiny-but-iconic validity checker energy ✨

πŸ’– NAME πŸ’–

scsw_is_valid_cc β€” check cc field validity πŸŽ€

🌸 SYNOPSIS 🌸

here's the exact signature, no edits:

int scsw_is_valid_cc (union scsw *scsw );

🫢 ARGUMENTS 🫢

  • scsw β€” pointer to scsw. that's the whole argument, bestie 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this little icon returns non-zero if the cc field of the specified scsw is valid. It literally does not care whether it's a transport mode or command mode scsw β€” valid is valid, periodt πŸ’…

If the field does not contain a valid value, it returns zero. No cap, that's the whole check πŸ”₯

🌈 SEE ALSO 🌈

these are the linked faves β€” all of them, no skipping πŸ‘‘

πŸ“ kernel file & structs

  • Kernel file ./arch/s390/include/asm/scsw.h
  • struct cmd_scsw(9)
  • struct tm_scsw(9)
  • struct eadm_scsw(9)
  • union scsw(9)

πŸ› οΈ core scsw squad

πŸ’… cmd validity checks

🌟 tm validity checks

✨ general valid checks

🫢 solicited squad


xoxo, stay valid πŸ’– source/version ./arch/s390/include/asm, dated October 2026. mwah πŸ’‹

πŸ“¦ where this page comes from