stcrw_get_injected(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… stcrw_get_injected β€” from the Kernel API Manual, section 9, bestie πŸŽ€

okay so picture this: you're deep in the s390 corner of the kernel, section 9 of the Kernel API Manual, and you just need to grab a CRW that somebody artificially shoved in there. That's the whole gig. Let's get into it ✨


🌸 NAME 🌸

stcrw_get_injected β€” literally just copy the artificial CRW data over into a CRW struct. that's it. that's the function. 🫢


✨ SYNOPSIS ✨

int stcrw_get_injected (struct crw *crw );

πŸŽ€ ARGUMENTS πŸŽ€

  • crw β€” the target CRW pointer. like, the place you want the data to land. she's the destination, the main character of the assignment πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

Retrieve an injected CRW data. Yes bestie, injected β€” this is the artificial stuff, not the real hardware moment.

Returns 0 on success πŸŽ‰, and 1 if no injected-CRW is available 😭 (nothing to grab, no cap).

The iconic part? The function reproduces the return code of the actual STCRW function. so the vibes stay consistent with the real thing β€” same return codes, no surprises, the way that consistency ate πŸ”₯

ngl this one is short and sweet, which honestly is its own kind of slay πŸ’œ

πŸ” SEE ALSO πŸ”


and that's the whole page, periodt πŸ’– go read the source file if you want more lore, iykyk 🌈

sign-off time 🧚 β€” this lil beauty lives under ./drivers/s390/cio, dated October 2026, and it's stcrw_get_injected(9), mwah πŸ’‹

πŸ“¦ where this page comes from