Class Udev.UdevListEntry

java.lang.Object
com.sun.jna.PointerType
com.sun.jna.platform.linux.Udev.UdevListEntry
All Implemented Interfaces:
NativeMapped
Enclosing interface:
Udev

public static class Udev.UdevListEntry extends PointerType
Whenever libudev returns a list of objects, the udev_list_entry API should be used to iterate, access and modify those lists.
  • Constructor Details

    • UdevListEntry

      public UdevListEntry()
  • Method Details

    • getNext

      public Udev.UdevListEntry getNext()
      Gets the next entry in the enumeration.
      Returns:
      On success, returns the next list entry. If no such entry can be found, or on failure, NULL is returned.
    • getName

      public String getName()
      Get the name of this entry, which is the path of the device in /sys.
      Returns:
      A string representing the syspath. On failure, NULL is returned.