gudev: Add g_udev_client_query_by_subsystem_and_device_file()

Looks up a device for a device file for a particular subsystem. In contrast to
g_udev_client_query_device_file() this function does not make blocking I/O
through stat()'ing a device file, and relies solely on the udev database making
it a better fit for mocked sysfs hierarchies.
2 files changed
tree: f50f80cb7b85c57abf22461f44795e4a008ba188
  1. .ci/
  2. docs/
  3. gudev/
  4. scripts/
  5. tests/
  6. .gitignore
  7. .gitlab-ci.yml
  8. COPYING
  9. gudev-1.0.pc.in
  10. libgudev-1.0.sym
  11. libgudev.doap
  12. meson.build
  13. meson_options.txt
  14. NEWS
  15. README.md
README.md

libgudev

This is libgudev, a library providing GObject bindings for libudev. It used to be part of udev, then merged into systemd. It's now a project on its own.

The official download locations are: http://download.gnome.org/sources/libgudev

The official web site is: https://gitlab.gnome.org/GNOME/libgudev/

Installation

libgudev uses meson as its build system, so generic installation instructions apply to installing libgudev.

libgudev requires libudev (part of systemd), glib, and pkg-config. Refer to the meson.build file itself for up-to-date version requirements.

libgudev also optionally uses umockdev for its tests.

Bugs and patches

Bugs and patches can be contributed on the project's GitLab page.

License

libgudev, as a combined works, is released under the GNU Lesser General Public License version 2.1 or later. See COPYING file for details.