udev_unref (3)
NAME
udev_new, udev_ref, udev_unref - Create, acquire and release a udev context objectSYNOPSIS
#include <libudev.h>
-
struct udev *udev_new(void);
- struct udev *udev_ref(struct udev *udev);
- struct udev *udev_unref(struct udev *udev);
- struct udev *udev_ref(struct udev *udev);
DESCRIPTION
udev_new()
RETURN VALUE
On success, udev_new() returns a pointer to the allocated udev context. On failure, NULL is returned. udev_ref() returns the argument that it was passed, unmodified. udev_unref() always returns NULL.