gpiotools_gets(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ gpiotools_gets(9) πŸŽ€

okay bestie, welcome to the gpiotools_gets(9) page from the Kernel API Manual πŸ’– this one is all about grabbing values from specific lines, and it’s lowkey iconic.


🌸 NAME 🌸

gpiotools_gets β€” get values from specific lines. periodt. ✨


✨ SYNOPSIS ✨

int gpiotools_gets (const char *device_name , unsigned int *lines ,
       unsigned int num_lines , unsigned int *values );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • device_name β€” the name of the gpiochip, without the prefix "/dev/", like "gpiochip0". no slashies, bestie 🚫
  • lines β€” an array of the desired lines, specified by offset index for the associated GPIO device.
  • num_lines β€” the number of lines to request. count ’em πŸ‘‘
  • values β€” the array of values get from gpiochip.

πŸ’… RETURN πŸ’…

On success, return 0; on failure, return the errno. that’s the whole vibe check 😌


🌈 SEE ALSO 🌈


mwah πŸ’‹ this cutie comes from source/version ./tools/gpio, dated October 2026. go forth and get those values, bestie 🫢✨

πŸ“¦ where this page comes from