Object Hierarchy:

Object hierarchy for Client


[ CCode ( type_id = "g_udev_client_get_type ()" ) ]
public class Client : Object

Client is used to query information about devices on a Linux system from the Linux kernel and the udev device manager.

Device information is retrieved from the kernel (through the sysfs filesystem) and the udev daemon (through a tmpfs filesystem) and presented through Device objects. This means that no blocking IO ever happens (in both cases, we are essentially just reading data from kernel memory) and as such there are no asynchronous versions of the provided methods.

To get Device objects, use query_by_subsystem, query_by_device_number, query_by_device_file, query_by_sysfs_path, query_by_subsystem_and_name or the Enumerator type.

To listen to uevents, connect to the uevent signal.

Namespace: GUdev
Package: gudev-1.0



Creation methods:



Inherited Members: