udev_monitor_filter_remove(3) Modify filters

Other Alias

udev_monitor_filter_update, udev_monitor_filter_add_match_subsystem_devtype, udev_monitor_filter_add_match_tag

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.