1UDEV_MONITOR_FILTER_UPDATE(u3d)ev_monitor_filter_updaUtDeEV_MONITOR_FILTER_UPDATE(3)
2
3
4
6 udev_monitor_filter_update, udev_monitor_filter_remove,
7 udev_monitor_filter_add_match_subsystem_devtype,
8 udev_monitor_filter_add_match_tag - Modify filters
9
11 #include <libudev.h>
12
13 int udev_monitor_filter_update(struct udev_monitor *udev_monitor);
14
15 int udev_monitor_filter_remove(struct udev_monitor *udev_monitor);
16
17 int
18 udev_monitor_filter_add_match_subsystem_devtype(struct udev_monitor *udev_monitor,
19 const char *subsystem,
20 const char *devtype);
21
22 int
23 udev_monitor_filter_add_match_tag(struct udev_monitor *udev_monitor,
24 const char *tag);
25
27 On success, udev_monitor_filter_update(), udev_monitor_filter_remove(),
28 udev_monitor_filter_add_match_subsystem_devtype() and
29 udev_monitor_filter_add_match_tag() return an integer greater than, or
30 equal to, 0. On failure, a negative error code is returned.
31
33 udev_new(3), udev_device_new_from_syspath(3), udev_enumerate_new(3),
34 udev_monitor_new_from_netlink(3), udev_monitor_receive_device(3),
35 udev_list_entry(3), systemd(1),
36
37
38
39systemd 245 UDEV_MONITOR_FILTER_UPDATE(3)