Class IOURingSyncCancelReg

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

@NativeType("struct io_uring_sync_cancel_reg") public class IOURingSyncCancelReg extends Struct<IOURingSyncCancelReg> implements NativeResource
struct io_uring_sync_cancel_reg {
    __u64 addr;
    __s32 fd;
    __u32 flags;
    struct __kernel_timespec timeout;
    __u8 opcode;
    __u8 pad[7];
    __u64 pad2[3];
}
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • ADDR

      public static final int ADDR
      The struct member offsets.
    • FD

      public static final int FD
      The struct member offsets.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • TIMEOUT

      public static final int TIMEOUT
      The struct member offsets.
    • OPCODE

      public static final int OPCODE
      The struct member offsets.
    • PAD

      public static final int PAD
      The struct member offsets.
    • PAD2

      public static final int PAD2
      The struct member offsets.
  • Constructor Details

    • IOURingSyncCancelReg

      public IOURingSyncCancelReg(ByteBuffer container)
      Creates a IOURingSyncCancelReg instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details