#include <libudev.h>
On success, udev_list_entry_get_name() and udev_list_entry_get_value() return a pointer to a constant string representing the requested value. The string is bound to the lifetime of the list entry itself. On failure, NULL is returned.
udev_new(3), udev_device_new_from_syspath(3), udev_enumerate_new(3), udev_monitor_new_from_netlink(3), systemd(1),