use GPIOs with Linux / sysfs interface
Clone or download
manut try to open fd in gpio_get_fd
users expect to retrive a valid fd if get_gpio_fd is called.

But the fd might be uninitialized, because only gpio_open was called.
gpio_open just exports the gpio, but doesn't open the fd. The fd will
be opened on first access.

Signed-off-by: Manuel Traut <manut@linutronix.de>
Latest commit 471ac85 Apr 6, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cfg initial version Dec 4, 2013
debian update debianization Aug 9, 2017
examples initial version Dec 4, 2013
include initial version Dec 4, 2013
src try to open fd in gpio_get_fd Apr 6, 2018
.gitignore update .gitignore to ignore build output Jul 3, 2015
AUTHORS initial version Dec 4, 2013
COPYING initial version Dec 4, 2013
ChangeLog initial version Dec 4, 2013
Makefile.am initial version Dec 4, 2013
NEWS initial version Dec 4, 2013
README initial version Dec 4, 2013
README.md add README symlink for github Dec 4, 2013
autogen.sh initial version Dec 4, 2013
configure.ac initial version Dec 4, 2013
libgpio.pc.in initial version Dec 4, 2013

README.md

libgpio

libgpio can be used to ease the access of GPIOs via Linux / sysfs.

build ^^^^^ ./autogen.sh ./configure && make && make install

also debian packages can be built: ./autogen.sh dpkg-buildpackage