1UDEV_LIST_ENTRY(3)              udev_list_entry             UDEV_LIST_ENTRY(3)
2
3
4

NAME

6       udev_list_entry, udev_list_entry_get_next, udev_list_entry_get_by_name,
7       udev_list_entry_get_name, udev_list_entry_get_value - Iterate and
8       access udev lists
9

SYNOPSIS

11       #include <libudev.h>
12
13       struct udev_list_entry
14                                                        *udev_list_entry_get_next(struct udev_list_entry *list_entry);
15
16       struct udev_list_entry
17                                                           *udev_list_entry_get_by_name(struct udev_list_entry *list_entry,
18                                                           const char *name);
19
20       const char
21                                            *udev_list_entry_get_name(struct udev_list_entry *list_entry);
22
23       const char
24                                             *udev_list_entry_get_value(struct udev_list_entry *list_entry);
25

RETURN VALUE

27       On success, udev_list_entry_get_next() and
28       udev_list_entry_get_by_name() return a pointer to the requested list
29       entry. If no such entry can be found, or on failure, NULL is returned.
30
31       On success, udev_list_entry_get_name() and udev_list_entry_get_value()
32       return a pointer to a constant string representing the requested value.
33       The string is bound to the lifetime of the list entry itself. On
34       failure, NULL is returned.
35

SEE ALSO

37       udev_new(3), udev_device_new_from_syspath(3), udev_enumerate_new(3),
38       udev_monitor_new_from_netlink(3), systemd(1),
39
40
41
42systemd 248                                                 UDEV_LIST_ENTRY(3)
Impressum