scsw_is_tm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– scsw_is_tm(9) πŸ’–

okay so this is a page from the Kernel API Manual, bestie, and it's honestly so short you could read it between classes ✨


🌸 NAME 🌸

scsw_is_tm β€” the vibe check that tells you if an scsw is a transport mode scsw 🚦


πŸŽ€ SYNOPSIS πŸŽ€

int scsw_is_tm (union scsw *scsw );

like, that's it. one function. one argument. she's lowkey minimal and I respect it πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • scsw β€” pointer to scsw. yes, that's the whole description, the manpage is not gonna elaborate, bestie 😭 just know it's a pointer to the scsw you're checking. iconic laziness fr fr.

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the whole tea β˜• β€” scsw_is_tm returns non-zero if the specified scsw is a transport mode scsw, and zero otherwise.

that's the entire function. she's a boolean with main character energy πŸ‘‘ ngl this is the kind of function that just knows and doesn't need to explain herself. you pass the pointer, she tells you yes or no, done. periodt. πŸ”₯

heads up: she gives you non-zero, not necessarily 1 β€” so don't go comparing her against 1 like it's a guarantee, because it's not πŸ™ˆ just treat "truthy" as true and move on.

🌈 SEE ALSO 🌈

this list is long long, so buckle up β€” same order as the original, no cap 🫢

like I said. whole friend group. the _is_valid_ girlies AND the _is_solicited_ girlies AND the cmd/tm variants all showed up to the function party πŸŽ‰ slay.


and that's the whole page, bestie πŸ“ she lives in ./arch/s390/include/asm and this edition dropped October 2026 β€” go read the header file if you want the lore, mwah πŸ’‹βœ¨πŸ§š

πŸ“¦ where this page comes from