ir_raw_gen_pulse_space(9)
π ir_raw_gen_pulse_space(9) β it's giving Kernel API Manual realness
okay bestie, so this is a page about ir_raw_gen_pulse_space β a lil function that literally just generates pulse and space raw events. that's it, that's the whole job, and honestly? iconic. β¨
π NAME π
ir_raw_gen_pulse_space β generate pulse and space raw events. no cap, that's the entire mission statement. π«Ά
πΈ SYNOPSIS πΈ
int ir_raw_gen_pulse_space (struct ir_raw_event **ev , unsigned int *max
, unsigned int pulse_width , unsigned int space_width );
look at her. four args. clean. she knows what she's doing. π
π¦ ARGUMENTS π¦
so here's the breakdown of everyone invited to the function party:
evβ a pointer to a pointer to the next free raw event. every time a raw event gets written, this bad boy gets incremented. she moves with the vibes. βmaxβ a pointer to how many raw events are available in the buffer. every time a raw event gets written, it gets decremented. it's literally doing a countdown, main character energy fr fr. π₯pulse_widthβ the width of the pulse, measured in ns. that's nanoseconds bestie, we're operating on a whole different time scale here. πspace_widthβ the width of the space, also in ns. pulse's counterpart. the calm to the chaos. the other half of the duo. π
π RETURN π
0β success! slay! everything worked and we're all thriving. π-ENOBUFSβ this is the "there isn't enough buffer space to write both raw events" situation. π when this happens?maxevents will have been written β so like, some stuff made it in, but not all of it. a partial serve. half-ate. π
ngl, lowkey important detail: when you get-ENOBUFSback,maxevents will have been written. so don't act brand new when some of your data is already sitting in the buffer, okay? π
π SEE ALSO π
the extended universe, iykyk:
- Kernel file
./drivers/media/rc/rc-core-priv.h rc_open(9)rc_close(9)struct ir_raw_timings_manchester(9)struct ir_raw_timings_pd(9)struct ir_raw_timings_pl(9)
okay that's the whole page and honestly she ate β every option, every caveat, every reference, all of it present and accounted for. π β¨
go touch some infrared, bestie. and remember: this page lives in ./drivers/media/rc and the manual's version stamp is October 2026 β a whole future date, very ahead of its time, very fairy-core, very π§ββοΈππ β while the page itself is ir_raw_gen_pulse_space(9) from the Kernel API Manual. bye diva! π¦πΈπ
π¦ 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