1UDEV_MONITOR_NEW_FROM_NETLuIdNeKv(_3m)onitor_new_from_UnDeEtVl_iMnOkNITOR_NEW_FROM_NETLINK(3)
2
3
4

NAME

6       udev_monitor_new_from_netlink, udev_monitor_ref, udev_monitor_unref -
7       Create, acquire and release a udev monitor object
8

SYNOPSIS

10       #include <libudev.h>
11
12       struct udev_monitor *udev_monitor_new_from_netlink(struct udev *udev,
13                                                          const char *name);
14
15       struct udev_monitor
16                                             *udev_monitor_ref(struct udev_monitor *udev_monitor);
17
18       struct udev_monitor
19                                               *udev_monitor_unref(struct udev_monitor *udev_monitor);
20

RETURN VALUE

22       On success, udev_monitor_new_from_netlink() returns a pointer to the
23       allocated udev monitor. On failure, NULL is returned.
24       udev_monitor_ref() returns the argument that it was passed, unmodified.
25       udev_monitor_unref() always returns NULL.
26

SEE ALSO

28       udev_new(3), udev_device_new_from_syspath(3), udev_enumerate_new(3),
29       udev_monitor_filter_update(3), udev_monitor_receive_device(3),
30       udev_list_entry(3), systemd(1),
31
32
33
34systemd 253                                   UDEV_MONITOR_NEW_FROM_NETLINK(3)
Impressum