commit | 62909cae9a36d20875c135719d7819fb9d7340b1 | [log] [tgz] |
---|---|---|
author | Bastien Nocera <hadess@hadess.net> | Mon Nov 15 16:30:41 2021 |
committer | Bastien Nocera <hadess@hadess.net> | Mon Nov 15 16:39:14 2021 |
tree | f50f80cb7b85c57abf22461f44795e4a008ba188 | |
parent | f6ec5ecb6ef68272392a7e950b3f60194c42f1ee [diff] |
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.
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/
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 can be contributed on the project's GitLab page.
libgudev, as a combined works, is released under the GNU Lesser General Public License version 2.1 or later. See COPYING
file for details.