#include <libudev.h>
On success, udev_enumerate_get_list_entry() returns a pointer to the first entry in the list of found devices. If the list is empty, or on failure, NULL is returned.
udev_enumerate_get_udev() always returns a pointer to the udev context that this enumerated object is associated with.
udev_new(3), udev_device_new_from_syspath(3), udev_enumerate_new(3), udev_enumerate_add_match_subsystem(3), udev_monitor_new_from_netlink(3), udev_list_entry(3), systemd(1),