libudev-device.c | libudev-device.c | |||
---|---|---|---|---|
skipping to change at line 1127 | skipping to change at line 1127 | |||
return NULL; | return NULL; | |||
return udev_device->sysname; | return udev_device->sysname; | |||
} | } | |||
/** | /** | |||
* udev_device_get_sysnum: | * udev_device_get_sysnum: | |||
* @udev_device: udev device | * @udev_device: udev device | |||
* | * | |||
* Get the instance number of the device. | * Get the instance number of the device. | |||
* | * | |||
* Returns: the trailing number string of of the device name | * Returns: the trailing number string of the device name | |||
**/ | **/ | |||
_public_ const char *udev_device_get_sysnum(struct udev_device *udev_device ) | _public_ const char *udev_device_get_sysnum(struct udev_device *udev_device ) | |||
{ | { | |||
if (udev_device == NULL) | if (udev_device == NULL) | |||
return NULL; | return NULL; | |||
return udev_device->sysnum; | return udev_device->sysnum; | |||
} | } | |||
/** | /** | |||
* udev_device_get_devnode: | * udev_device_get_devnode: | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |