Lines Matching defs:str
35 const char *str;
41 str = udev_device_get_action(device);
42 if (str != NULL)
43 printf("action: '%s'\n", str);
45 str = udev_device_get_syspath(device);
46 printf("syspath: '%s'\n", str);
48 str = udev_device_get_sysname(device);
49 printf("sysname: '%s'\n", str);
51 str = udev_device_get_sysnum(device);
52 if (str != NULL)
53 printf("sysnum: '%s'\n", str);
55 str = udev_device_get_devpath(device);
56 printf("devpath: '%s'\n", str);
58 str = udev_device_get_subsystem(device);
59 if (str != NULL)
60 printf("subsystem: '%s'\n", str);
62 str = udev_device_get_devtype(device);
63 if (str != NULL)
64 printf("devtype: '%s'\n", str);
66 str = udev_device_get_driver(device);
67 if (str != NULL)
68 printf("driver: '%s'\n", str);
70 str = udev_device_get_devnode(device);
71 if (str != NULL)
72 printf("devname: '%s'\n", str);
96 str = udev_device_get_property_value(device, "MAJOR");
97 if (str != NULL)
98 printf("MAJOR: '%s'\n", str);
100 str = udev_device_get_sysattr_value(device, "dev");
101 if (str != NULL)
102 printf("attr{dev}: '%s'\n", str);