1UDEV_ENUMERATE_SCAN_DEVICESu(d3e)v_enumerate_scan_devUiDcEeVs_ENUMERATE_SCAN_DEVICES(3)
2
3
4

NAME

6       udev_enumerate_scan_devices, udev_enumerate_scan_subsystems,
7       udev_enumerate_get_list_entry, udev_enumerate_add_syspath,
8       udev_enumerate_get_udev - Query or modify a udev enumerate object
9

SYNOPSIS

11       #include <libudev.h>
12
13       int udev_enumerate_scan_devices(struct udev_enumerate *udev_enumerate);
14
15       int
16                                          udev_enumerate_scan_subsystems(struct udev_enumerate *udev_enumerate);
17
18       struct udev_list_entry
19                                                             *udev_enumerate_get_list_entry(struct udev_enumerate *udev_enumerate);
20
21       int udev_enumerate_add_syspath(struct udev_enumerate *udev_enumerate,
22                                      const char *syspath);
23
24       struct udev
25                                            *udev_enumerate_get_udev(struct udev_enumerate *udev_enumerate);
26

RETURN VALUE

28       On success, udev_enumerate_scan_devices(),
29       udev_enumerate_scan_subsystems() and udev_enumerate_add_syspath()
30       return an integer greater than, or equal to, 0.
31
32       On success, udev_enumerate_get_list_entry() returns a pointer to the
33       first entry in the list of found devices. If the list is empty, or on
34       failure, NULL is returned.
35
36       udev_enumerate_get_udev() always returns a pointer to the udev context
37       that this enumerated object is associated with.
38

SEE ALSO

40       udev_new(3), udev_device_new_from_syspath(3), udev_enumerate_new(3),
41       udev_enumerate_add_match_subsystem(3),
42       udev_monitor_new_from_netlink(3), udev_list_entry(3), systemd(1),
43
44
45
46systemd 248                                     UDEV_ENUMERATE_SCAN_DEVICES(3)
Impressum