Other Alias
udev_new, udev_unrefSYNOPSIS
#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.