Class PollFD

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class PollFD extends ProxyInstance
Represents a file descriptor, which events to poll for, and which events occurred.
  • Constructor Details

    • PollFD

      public PollFD(MemorySegment address)
      Create a PollFD proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getType

      public static @Nullable Type getType()
      Get the GType of the PollFD class.
      Returns:
      the GType
    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout