sclp_chp_read_info(9)
π sclp_chp_read_info β a lil kernel API manual moment
okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is sclp_chp_read_info. pull up a chair, we're learning about channel paths π¦
β¨ NAME β¨
sclp_chp_read_info β perform the read channel-path information sclp command
like, that's literally the whole vibe. it reads channel-path info. slay.
πΈ SYNOPSIS πΈ
int sclp_chp_read_info (struct sclp_chp_info *info );
one function, one argument, returns an int. no cap, that's it π
π ARGUMENTS π
infoβ the resulting channel-path information data. think of it as the cute little basket where all the info ends up π§Ίβ¨
π DESCRIPTION π
so here's the tea, bestie: this function performs the read channel-path information sclp command and then waits for completion. it's giving patient queen energy, fr fr β no running off before the job's done π
on success? it stores the channel-path information in info and returns 0. iconic. perfect. we love a zero return π«Ά
return non-zero otherwise π β that's your signal that things did not go the way we wanted.
lowkey important:0means success and the info landed ininfo. anything else means nope. don't @ me, that's just what the manpage says π
π₯ SEE ALSO π₯
- Kernel file
./drivers/s390/char/sclp_cmd.c sclp_chp_configure(9)sclp_chp_deconfigure(9)
go read those too, iykyk πβ¨
πΈβ¨ and that's the page!! brought to you by the fine people at ./drivers/s390/char, dated October 2026, section 9 of the Kernel API Manual. mwah, study hard, stan kernel docs ππ
π¦ 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