scsw_is_valid_pno(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

scsw_is_valid_pno β€” check pno field validity πŸ’…

okay so this is scsw_is_valid_pno(9), from the Kernel API Manual, and it's literally here to check pno field validity. bestie, we love a tiny little validity checker. πŸŽ€

🌸 SYNOPSIS 🌸

int scsw_is_valid_pno (union scsw *scsw );

πŸŽ€ ARGUMENTS πŸŽ€

  • scsw β€” pointer to scsw. that's the whole argument, and yes it's a pointer to the scsw, periodt. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the actual vibe check: this returns non-zero if the pno field of the specified scsw is valid, regardless of whether it is a transport mode or command mode scsw. it returns zero if the field does not contain a valid value. no extra lore, no secret side quest. πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘

First up, the kernel file ./arch/s390/include/asm/scsw.h β€” and then all these iconic besties:


Cute little sign-off: source/version is ./arch/s390/include/asm, the date is October 2026, and this page is scsw_is_valid_pno(9). bye bestie, go check those pno fields! πŸ’…βœ¨

πŸ“¦ where this page comes from