summaryrefslogtreecommitdiff
path: root/man/udev_enumerate_unref.html
diff options
context:
space:
mode:
Diffstat (limited to 'man/udev_enumerate_unref.html')
-rw-r--r--man/udev_enumerate_unref.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/man/udev_enumerate_unref.html b/man/udev_enumerate_unref.html
new file mode 100644
index 0000000000..1d21e37fcb
--- /dev/null
+++ b/man/udev_enumerate_unref.html
@@ -0,0 +1,36 @@
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>udev_enumerate_new</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
+ a.headerlink {
+ color: #c60f0f;
+ font-size: 0.8em;
+ padding: 0 4px 0 4px;
+ text-decoration: none;
+ visibility: hidden;
+ }
+
+ a.headerlink:hover {
+ background-color: #c60f0f;
+ color: white;
+ }
+
+ h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
+ visibility: visible;
+ }
+ </style><a href="index.html">Index </a>·
+ <a href="systemd.directives.html">Directives </a>·
+ <a href="../python-systemd/index.html">Python </a>·
+
+ <span style="float:right">systemd 221</span><hr><div class="refentry"><a name="udev_enumerate_new"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>udev_enumerate_new, udev_enumerate_ref, udev_enumerate_unref — Create, acquire and release a udev enumerate object</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><pre class="funcsynopsisinfo">#include &lt;libudev.h&gt;</pre><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">struct udev_enumerate *<b class="fsfunc">udev_enumerate_new</b>(</code></td><td>struct udev *<var class="pdparam">udev</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">struct udev_enumerate *<b class="fsfunc">udev_enumerate_ref</b>(</code></td><td>struct udev_enumerate *<var class="pdparam">udev_enumerate</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">struct udev_enumerate *<b class="fsfunc">udev_enumerate_unref</b>(</code></td><td>struct udev_enumerate *<var class="pdparam">udev_enumerate</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer"> </div></div></div><div class="refsect1"><a name="idm47283075962096"></a><h2 id="Return Value">Return Value<a class="headerlink" title="Permalink to this headline" href="#Return%20Value">¶</a></h2><p>On success, <code class="function">udev_enumerate_new()</code> returns a
+ pointer to the allocated udev monitor. On failure,
+ <code class="constant">NULL</code> is returned.
+ <code class="function">udev_enumerate_ref()</code> returns the argument
+ that it was passed, unmodified.
+ <code class="function">udev_enumerate_unref()</code> always returns
+ <code class="constant">NULL</code>.</p></div><div class="refsect1"><a name="idm47283075958032"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p>
+ <a href="udev_new.html"><span class="citerefentry"><span class="refentrytitle">udev_new</span>(3)</span></a>,
+ <a href="udev_device_new_from_syspath.html"><span class="citerefentry"><span class="refentrytitle">udev_device_new_from_syspath</span>(3)</span></a>,
+ <a href="udev_enumerate_add_match_subsystem.html"><span class="citerefentry"><span class="refentrytitle">udev_enumerate_add_match_subsystem</span>(3)</span></a>,
+ <a href="udev_enumerate_scan_devices.html"><span class="citerefentry"><span class="refentrytitle">udev_enumerate_scan_devices</span>(3)</span></a>,
+ <a href="udev_monitor_new_from_netlink.html"><span class="citerefentry"><span class="refentrytitle">udev_monitor_new_from_netlink</span>(3)</span></a>,
+ <a href="udev_list_entry.html"><span class="citerefentry"><span class="refentrytitle">udev_list_entry</span>(3)</span></a>,
+ <a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
+ </p></div></div></body></html>