from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209580

userrating:


May 25th. 2007:
Words

486

Views

258588

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149878

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





UDEV_MONITOR_RECEIVE_DEVICE

Section: udev_monitor_receive_device (3)
Updated:
Index Return to Main Contents
 

NAME

udev_monitor_receive_device, udev_monitor_enable_receiving, udev_monitor_set_receive_buffer_size, udev_monitor_get_fd, udev_monitor_get_udev - Query and modify device monitor  

SYNOPSIS

#include <libudev.h>
struct udev_device *udev_monitor_receive_device(struct udev_monitor *udev_monitor);
int udev_monitor_enable_receiving(struct udev_monitor *udev_monitor);
int udev_monitor_set_receive_buffer_size(struct udev_monitor *udev_monitor, int size);
int udev_monitor_get_fd(struct udev_monitor *udev_monitor);
struct udev *udev_monitor_get_udev(struct udev_monitor *udev_monitor);
 

RETURN VALUE

On success, udev_monitor_receive_device() returns a pointer to a newly referenced device that was received via the monitor. The caller is responsible to drop this reference when done. On failure, NULL is returned.

On success, udev_monitor_enable_receiving() and udev_monitor_set_receive_buffer_size() return an integer greater than, or equal to, 0. On failure, a negative error code is returned.

On success, udev_monitor_get_fd() returns the file descriptor used by this monitor. On failure, a negative error code is returned.

udev_monitor_get_udev() always returns a pointer to the udev context that this monitor is associated with.  

HISTORY

udev_monitor_receive_device(), udev_monitor_enable_receiving(), udev_monitor_set_receive_buffer_size(), udev_monitor_get_fd(), and udev_monitor_get_udev() were added in version 221.  

SEE ALSO

udev_new(3), udev_device_new_from_syspath(3), udev_enumerate_new(3), udev_monitor_new_from_netlink(3), udev_monitor_filter_update(3), udev_list_entry(3), systemd(1)


 

Index

NAME
SYNOPSIS
RETURN VALUE
HISTORY
SEE ALSO





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 14.3 ms