105 lines
2.6 KiB
HTML
105 lines
2.6 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of UDEV_LIST_ENTRY</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>UDEV_LIST_ENTRY</H1>
|
|
Section: udev_list_entry (3)<BR>Updated: <BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
udev_list_entry, udev_list_entry_get_next, udev_list_entry_get_by_name, udev_list_entry_get_name, udev_list_entry_get_value - Iterate and access udev lists
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
<B>
|
|
</B><PRE>
|
|
#include <<A HREF="file:///usr/include/libudev.h">libudev.h</A>>
|
|
</PRE>
|
|
|
|
|
|
<DL COMPACT>
|
|
<DT id="1">
|
|
<B>struct udev_list_entry *udev_list_entry_get_next(struct udev_list_entry *</B><I>list_entry</I><B>);</B>
|
|
|
|
<DT id="2">
|
|
<B>struct udev_list_entry *udev_list_entry_get_by_name(struct udev_list_entry *</B><I>list_entry</I><B>, const char *</B><I>name</I><B>);</B>
|
|
|
|
<DT id="3">
|
|
<B>const char *udev_list_entry_get_name(struct udev_list_entry *</B><I>list_entry</I><B>);</B>
|
|
|
|
<DT id="4">
|
|
<B>const char *udev_list_entry_get_value(struct udev_list_entry *</B><I>list_entry</I><B>);</B>
|
|
|
|
</DL>
|
|
<A NAME="lbAD"> </A>
|
|
<H2>RETURN VALUE</H2>
|
|
|
|
<P>
|
|
|
|
<DD>On success,
|
|
<B>udev_list_entry_get_next()</B>
|
|
and
|
|
<B>udev_list_entry_get_by_name()</B>
|
|
return a pointer to the requested list entry. If no such entry can be found, or on failure,
|
|
<B>NULL</B>
|
|
is returned.
|
|
<P>
|
|
|
|
On success,
|
|
<B>udev_list_entry_get_name()</B>
|
|
and
|
|
<B>udev_list_entry_get_value()</B>
|
|
return a pointer to a constant string representing the requested value. The string is bound to the lifetime of the list entry itself. On failure,
|
|
<B>NULL</B>
|
|
is returned.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?3+udev_new">udev_new</A></B>(3),
|
|
<B><A HREF="/cgi-bin/man/man2html?3+udev_device_new_from_syspath">udev_device_new_from_syspath</A></B>(3),
|
|
<B><A HREF="/cgi-bin/man/man2html?3+udev_enumerate_new">udev_enumerate_new</A></B>(3),
|
|
<B><A HREF="/cgi-bin/man/man2html?3+udev_monitor_new_from_netlink">udev_monitor_new_from_netlink</A></B>(3),
|
|
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1),
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">RETURN VALUE</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:59 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|