scsw_is_tm(9)
π 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 toscsw. 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 necessarily1β so don't go comparing her against1like 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 π«Ά
Kernel file ./arch/s390/include/asm/scsw.hstruct cmd_scsw(9)struct tm_scsw(9)struct eadm_scsw(9)union scsw(9)scsw_key(9)scsw_eswf(9)scsw_cc(9)scsw_ectl(9)scsw_pno(9)scsw_fctl(9)scsw_actl(9)scsw_stctl(9)scsw_dstat(9)scsw_cstat(9)scsw_cmd_is_valid_key(9)scsw_cmd_is_valid_sctl(9)scsw_cmd_is_valid_eswf(9)scsw_cmd_is_valid_cc(9)scsw_cmd_is_valid_fmt(9)scsw_cmd_is_valid_pfch(9)scsw_cmd_is_valid_isic(9)scsw_cmd_is_valid_alcc(9)scsw_cmd_is_valid_ssi(9)scsw_cmd_is_valid_zcc(9)scsw_cmd_is_valid_ectl(9)scsw_cmd_is_valid_pno(9)scsw_cmd_is_valid_fctl(9)scsw_cmd_is_valid_actl(9)scsw_cmd_is_valid_stctl(9)scsw_cmd_is_valid_dstat(9)scsw_cmd_is_valid_cstat(9)scsw_tm_is_valid_key(9)scsw_tm_is_valid_eswf(9)scsw_tm_is_valid_cc(9)scsw_tm_is_valid_fmt(9)scsw_tm_is_valid_x(9)scsw_tm_is_valid_q(9)scsw_tm_is_valid_ectl(9)scsw_tm_is_valid_pno(9)scsw_tm_is_valid_fctl(9)scsw_tm_is_valid_actl(9)scsw_tm_is_valid_stctl(9)scsw_tm_is_valid_dstat(9)scsw_tm_is_valid_cstat(9)scsw_tm_is_valid_fcxs(9)scsw_tm_is_valid_schxs(9)scsw_is_valid_actl(9)scsw_is_valid_cc(9)scsw_is_valid_cstat(9)scsw_is_valid_dstat(9)scsw_is_valid_ectl(9)scsw_is_valid_eswf(9)scsw_is_valid_fctl(9)scsw_is_valid_key(9)scsw_is_valid_pno(9)scsw_is_valid_stctl(9)scsw_cmd_is_solicited(9)scsw_tm_is_solicited(9)scsw_is_solicited(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms