The current code in udev is quite inconsistent, though -- about half of the udev_monitor_*() functions return NULL if the passed monitor is NULL, the other half will crash.
The current code in udev is quite inconsistent, though -- about half of the udev_monitor_*() functions return NULL if the passed monitor is NULL, the other half will crash.