STRUCT PPS_GEN_EVENT(9)
π NAME π
okay bestie, welcome to struct pps_gen_event(9) from the Kernel API Manual π
this page is literally all about the PPS generator events, and yes it's giving niche-kernel-lore in the best way π¦
β¨ SYNOPSIS β¨
struct pps_gen_event {
unsigned int event;
unsigned int sequence;
};
π«Ά Members π«Ά
eventβ the event type π like, which event it is, periodt.sequenceβ the event sequence number π’ the sequence-y number, no cap.
πΈ Description πΈ
okay so userspace can get the last PPS generator event by using the ioctl(pps_gen, PPS_GEN_FETCHEVENT, ...) syscall π that's the move, bestie.
The sequence field can be used to save the last event ID, while in the event field is stored the last event type β¨ yes, they're doing different jobs and both are main characters.
Currently known event is:
PPS_GEN_EVENT_MISSEDPULSEβ last pulse was not generated π the pulse did not happen, and that's the whole mood.
π₯ SEE ALSO π₯
- Kernel file
./include/uapi/linux/pps_gen.hπ go read it, iykyk.
xoxo, bestie π«Ά this iconic little page came from ./include/uapi/linux, dated October 2026, and it's serving struct pps_gen_event(9) energy π
β¨
π¦ 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