libudev API examples