STRUCT GPIOLINE_INFO_CHANGED(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to the struct gpiol...info_changed(9) page from the Kernel API Manual ✨ β€” it's literally all about struct gpioline_info_changed, aka Information about a change in status of a GPIO line. no cap, that's the whole vibe. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

       struct gpioline_info_changed {
           struct gpioline_info info;
           __u64 timestamp;
           __u32 event_type;
           __u32 padding[5];
        };

πŸŽ€ Members πŸŽ€

  • info β€” updated line information.
  • timestamp β€” estimate of time of status change occurrence, in nanoseconds.
  • event_type β€” one of GPIOLINE_CHANGED_REQUESTED, GPIOLINE_CHANGED_RELEASED and GPIOLINE_CHANGED_CONFIG.
  • padding β€” reserved for future use.

πŸ’… Description πŸ’…

so the struct gpioline_info embedded here has 32-bit alignment on its own, but it works fine with 64-bit alignment too β€” highkey flexible. With its 72 byte size, we can guarantee there are no implicit holes between it and subsequent members. The 20-byte padding at the end makes sure we don't add any implicit padding at the end of the structure on 64-bit architectures. slay. ✨

⚠️ Note ⚠️

heads up bestie: this struct is part of ABI v1 and is deprecated. Use ABI v2 and struct gpio_v2_line_info_changed instead. periodt. πŸ’€

🌈 SEE ALSO 🌈

Kernel file ./include/uapi/linux/gpio.h is the source-file bestie, and these are the related manual pages to go peek at πŸ‘€:

  • struct gpiochip_info(9)
  • enum gpio_v2_line_flag(9)
  • struct gpio_v2_line_values(9)
  • enum gpio_v2_line_attr_id(9)
  • struct gpio_v2_line_attribute(9)
  • struct gpio_v2_line_config_attribute(9)
  • struct gpio_v2_line_config(9)
  • struct gpio_v2_line_request(9)
  • struct gpio_v2_line_info(9)
  • enum gpio_v2_line_changed_type(9)
  • struct gpio_v2_line_info_changed(9)
  • enum gpio_v2_line_event_id(9)
  • struct gpio_v2_line_event(9)
  • struct gpioline_info(9)
  • struct gpiohandle_request(9)
  • struct gpiohandle_config(9)
  • struct gpiohandle_data(9)
  • struct gpioevent_request(9)
  • struct gpioevent_data(9)

and that's the whole page, bestie 🫢 β€” source/version vibes are ./include/uapi/linux, dated October 2026, and the manual title is struct gpiol...info_changed(9). bye πŸ’œ

πŸ“¦ where this page comes from