2N/A<?
xml version='1.0'?>
<!--*-nxml-*--> 2N/A<!
DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 2N/A This file is part of systemd. 2N/A Copyright 2015 David Herrmann <dh.herrmann@gmail.com> 2N/A systemd is free software; you can redistribute it and/or modify it 2N/A under the terms of the GNU Lesser General Public License as published by 2N/A the Free Software Foundation; either version 2.1 of the License, or 2N/A (at your option) any later version. 2N/A systemd is distributed in the hope that it will be useful, but 2N/A WITHOUT ANY WARRANTY; without even the implied warranty of 2N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 2790N/A Lesser General Public License for more details. 5337N/A You should have received a copy of the GNU Lesser General Public License 2N/A<
refentry id="udev_monitor_new_from_netlink" 2N/A <
title>udev_monitor_new_from_netlink</
title>
2N/A <
productname>systemd</
productname>
2N/A <
contrib>Developer</
contrib>
2N/A <
firstname>David</
firstname>
2N/A <
surname>Herrmann</
surname>
2N/A <
email>dh.herrmann@gmail.com</
email>
38N/A <
refentrytitle>udev_monitor_new_from_netlink</
refentrytitle>
26N/A <
refname>udev_monitor_new_from_netlink</
refname>
4811N/A <
refname>udev_monitor_ref</
refname>
4811N/A <
refname>udev_monitor_unref</
refname>
3739N/A <
refpurpose>Create, acquire and release a udev monitor object</
refpurpose>
3817N/A <
funcdef>struct udev_monitor *<
function>udev_monitor_new_from_netlink</
function></
funcdef>
3817N/A <
paramdef>struct udev *<
parameter>udev</
parameter></
paramdef>
26N/A <
paramdef>const char *<
parameter>name</
parameter></
paramdef>
26N/A <
funcdef>struct udev_monitor *<
function>udev_monitor_ref</
function></
funcdef>
26N/A <
paramdef>struct udev_monitor *<
parameter>udev_monitor</
parameter></
paramdef>
26N/A <
funcdef>struct udev_monitor *<
function>udev_monitor_unref</
function></
funcdef>
26N/A <
paramdef>struct udev_monitor *<
parameter>udev_monitor</
parameter></
paramdef>
206N/A <title>Description</title> 26N/A <para>XXX: Add short description.</para> 3998N/A <
title>Return Value</
title>
3127N/A <
function>udev_monitor_new_from_netlink()</
function> returns a
3998N/A pointer to the allocated udev monitor. On failure,
26N/A <
constant>NULL</
constant> is returned.
3294N/A <
function>udev_monitor_ref()</
function> returns the argument
26N/A that it was passed, unmodified.
2N/A <
function>udev_monitor_unref()</
function> always returns
4747N/A <
constant>NULL</
constant>.</
para>
5425N/A <
citerefentry><
refentrytitle>udev_new</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
5425N/A <
citerefentry><
refentrytitle>udev_device_new_from_syspath</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
5425N/A <
citerefentry><
refentrytitle>udev_enumerate_new</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
5425N/A <
citerefentry><
refentrytitle>udev_monitor_filter_update</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
5425N/A <
citerefentry><
refentrytitle>udev_monitor_receive_device</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
5425N/A <
citerefentry><
refentrytitle>udev_list_entry</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
5425N/A <
citerefentry><
refentrytitle>systemd</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,