stcrw_get_injected(9)
π 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 π
- Kernel file
./drivers/s390/cio/cio_inject.c crw_inject(9)
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
- 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