table of contents
- bookworm 252.17-1~deb12u1
- bookworm-backports 254.5-1~bpo12+1
- testing 254.5-1
- unstable 254.5-1
- experimental 255~rc1-3
UDEV_MONITOR_FILTER_UPDATE(3) | udev_monitor_filter_update | UDEV_MONITOR_FILTER_UPDATE(3) |
NAME¶
udev_monitor_filter_update, udev_monitor_filter_remove, udev_monitor_filter_add_match_subsystem_devtype, udev_monitor_filter_add_match_tag - Modify filters
SYNOPSIS¶
#include <libudev.h>
int udev_monitor_filter_update(struct udev_monitor *udev_monitor);
int udev_monitor_filter_remove(struct udev_monitor *udev_monitor);
int udev_monitor_filter_add_match_subsystem_devtype(struct udev_monitor *udev_monitor, const char *subsystem, const char *devtype);
int udev_monitor_filter_add_match_tag(struct udev_monitor *udev_monitor, const char *tag);
RETURN VALUE¶
On success, udev_monitor_filter_update(), udev_monitor_filter_remove(), udev_monitor_filter_add_match_subsystem_devtype() and udev_monitor_filter_add_match_tag() return an integer greater than, or equal to, 0. On failure, a negative error code is returned.
SEE ALSO¶
udev_new(3), udev_device_new_from_syspath(3), udev_enumerate_new(3), udev_monitor_new_from_netlink(3), udev_monitor_receive_device(3), udev_list_entry(3), systemd(1),
systemd 254 |