scsw_ectl(9)
π scsw_ectl β return scsw ectl field
okay so welcome to scsw_ectl(9), straight out of the Kernel API Manual bestie, and honestly? she's a tiny little icon and we stan π
β¨ NAME β¨
scsw_ectl β return scsw ectl field
like... that's it, that's the whole job, and she does it flawlessly πββοΈ
πΈ SYNOPSIS πΈ
u32 scsw_ectl (union scsw *scsw );
yep, that's the whole signature. returns a u32, takes one pointer, no drama, no cap π
π¦ ARGUMENTS π¦
scswβ pointer to scsw π that's yourunion scsw *, and yes bestie it's a pointer, so don't go handing her a bare union, she wants the address
π« DESCRIPTION π«
so what she does is: return the value of the ectl field of the specified scsw π₯
and here's the slay part β it does not care whether it's a transport mode scsw or a command mode scsw. like, it truly does not gaf. transport mode? command mode? both get the same ectl-grabbing treatment, no vibe check required, no branching, just vibes and a return value β¨
it's giving "one job, done perfectly" energy, and I'm obsessed π«Ά
π§ SEE ALSO π§
okay this list is LONG, grab a snack π β everything here lives in the Kernel file ./arch/s390/include/asm/scsw.h:
struct cmd_scsw(9)struct tm_scsw(9)struct eadm_scsw(9)union scsw(9)scsw_is_tm(9)scsw_key(9)scsw_eswf(9)scsw_cc(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. LONG. but every single one of them is linked above, character for character, because we do not skip the "boring" parts in this group chat π β¨
okay that's the whole page bestie, mwah π
this little masterpiece lives in ./arch/s390/include/asm and it's dated October 2026, filed under scsw_ectl(9) β go forth and grab those ectl values, you absolute main character π«ΆπΈ
π¦ 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