man-pages/man3/udev_enumerate_add_match_subsystem.3.html
2021-03-31 01:06:50 +01:00

119 lines
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of UDEV_ENUMERATE_ADD_MATCH_SUBSYSTEM</TITLE>
</HEAD><BODY>
<H1>UDEV_ENUMERATE_ADD_MATCH_SUBSYSTEM</H1>
Section: udev_enumerate_add_match_subsystem (3)<BR>Updated: <BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
udev_enumerate_add_match_subsystem, udev_enumerate_add_nomatch_subsystem, udev_enumerate_add_match_sysattr, udev_enumerate_add_nomatch_sysattr, udev_enumerate_add_match_property, udev_enumerate_add_match_sysname, udev_enumerate_add_match_tag, udev_enumerate_add_match_parent, udev_enumerate_add_match_is_initialized - Modify filters
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<P>
<B>
</B><PRE>
#include &lt;<A HREF="file:///usr/include/libudev.h">libudev.h</A>&gt;
</PRE>
<DL COMPACT>
<DT id="1">
<B>int udev_enumerate_add_match_subsystem(struct&nbsp;udev_enumerate&nbsp;*</B><I>udev_enumerate</I><B>, const&nbsp;char&nbsp;*</B><I>subsystem</I><B>);</B>
<DT id="2">
<B>int udev_enumerate_add_nomatch_subsystem(struct&nbsp;udev_enumerate&nbsp;*</B><I>udev_enumerate</I><B>, const&nbsp;char&nbsp;*</B><I>subsystem</I><B>);</B>
<DT id="3">
<B>int udev_enumerate_add_match_sysattr(struct&nbsp;udev_enumerate&nbsp;*</B><I>udev_enumerate</I><B>, const&nbsp;char&nbsp;*</B><I>sysattr</I><B>, const&nbsp;char&nbsp;*</B><I>value</I><B>);</B>
<DT id="4">
<B>int udev_enumerate_add_nomatch_sysattr(struct&nbsp;udev_enumerate&nbsp;*</B><I>udev_enumerate</I><B>, const&nbsp;char&nbsp;*</B><I>sysattr</I><B>, const&nbsp;char&nbsp;*</B><I>value</I><B>);</B>
<DT id="5">
<B>int udev_enumerate_add_match_property(struct&nbsp;udev_enumerate&nbsp;*</B><I>udev_enumerate</I><B>, const&nbsp;char&nbsp;*</B><I>property</I><B>, const&nbsp;char&nbsp;*</B><I>value</I><B>);</B>
<DT id="6">
<B>int udev_enumerate_add_match_sysname(struct&nbsp;udev_enumerate&nbsp;*</B><I>udev_enumerate</I><B>, const&nbsp;char&nbsp;*</B><I>sysname</I><B>);</B>
<DT id="7">
<B>int udev_enumerate_add_match_tag(struct&nbsp;udev_enumerate&nbsp;*</B><I>udev_enumerate</I><B>, const&nbsp;char&nbsp;*</B><I>tag</I><B>);</B>
<DT id="8">
<B>int udev_enumerate_add_match_parent(struct&nbsp;udev_enumerate&nbsp;*</B><I>udev_enumerate</I><B>, struct&nbsp;udev_device&nbsp;*</B><I>parent</I><B>);</B>
<DT id="9">
<B>int udev_enumerate_add_match_is_initialized(struct&nbsp;udev_enumerate&nbsp;*</B><I>udev_enumerate</I><B>);</B>
</DL>
<A NAME="lbAD">&nbsp;</A>
<H2>RETURN VALUE</H2>
<P>
<DD>On success,
<B>udev_enumerate_add_match_subsystem</B>,
<B>udev_enumerate_add_nomatch_subsystem</B>,
<B>udev_enumerate_add_match_sysattr</B>,
<B>udev_enumerate_add_nomatch_sysattr</B>,
<B>udev_enumerate_add_match_property</B>,
<B>udev_enumerate_add_match_sysname</B>,
<B>udev_enumerate_add_match_tag</B>,
<B>udev_enumerate_add_match_parent</B>
and
<B>udev_enumerate_add_match_is_initialized</B>
return an integer greater than, or equal to,
<B>0</B>.
<A NAME="lbAE">&nbsp;</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_enumerate_scan_devices">udev_enumerate_scan_devices</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?3+udev_list_entry">udev_list_entry</A></B>(3),
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1),
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="12"><A HREF="#lbAD">RETURN VALUE</A><DD>
<DT id="13"><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>