Package org.freedesktop.wayland.raw
Class siginfo_t._sifields._sigsys
java.lang.Object
org.freedesktop.wayland.raw.siginfo_t._sifields._sigsys
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
_arch
(MemorySegment struct) Getter for field:unsigned int _arch
static void
_arch
(MemorySegment struct, int fieldValue) Setter for field:unsigned int _arch
static final ValueLayout.OfInt
Layout for field:unsigned int _arch
static final long
Offset for field:unsigned int _arch
static MemorySegment
_call_addr
(MemorySegment struct) Getter for field:void *_call_addr
static void
_call_addr
(MemorySegment struct, MemorySegment fieldValue) Setter for field:void *_call_addr
static final AddressLayout
Layout for field:void *_call_addr
static final long
Offset for field:void *_call_addr
static int
_syscall
(MemorySegment struct) Getter for field:int _syscall
static void
_syscall
(MemorySegment struct, int fieldValue) Setter for field:int _syscall
static final ValueLayout.OfInt
Layout for field:int _syscall
static final long
Offset for field:int _syscall
static MemorySegment
allocate
(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()
usingallocator
static MemorySegment
allocateArray
(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCount
usingallocator
.static MemorySegment
asSlice
(MemorySegment array, long index) Obtains a slice ofarrayParam
which selects the array element atindex
.static final GroupLayout
layout()
The layout of this structstatic MemorySegment
reinterpret
(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static MemorySegment
reinterpret
(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any).static long
sizeof()
The size (in bytes) of this struct
-
Method Details
-
layout
The layout of this struct -
_call_addr$layout
Layout for field:void *_call_addr
-
_call_addr$offset
public static final long _call_addr$offset()Offset for field:void *_call_addr
-
_call_addr
Getter for field:void *_call_addr
-
_call_addr
Setter for field:void *_call_addr
-
_syscall$layout
Layout for field:int _syscall
-
_syscall$offset
public static final long _syscall$offset()Offset for field:int _syscall
-
_syscall
Getter for field:int _syscall
-
_syscall
Setter for field:int _syscall
-
_arch$layout
Layout for field:unsigned int _arch
-
_arch$offset
public static final long _arch$offset()Offset for field:unsigned int _arch
-
_arch
Getter for field:unsigned int _arch
-
_arch
Setter for field:unsigned int _arch
-
asSlice
Obtains a slice ofarrayParam
which selects the array element atindex
. The returned segment has addressarrayParam.address() + index * layout().byteSize()
-
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()
usingallocator
-
allocateArray
Allocate an array of sizeelementCount
usingallocator
. The returned segment has sizeelementCount * layout().byteSize()
. -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizelayout().byteSize()
-
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddr
using targetarena
andcleanupAction
(if any). The returned segment has sizeelementCount * layout().byteSize()
-