Package org.lwjgl.system.linux
Class Statx.Buffer
- All Implemented Interfaces:
AutoCloseable
,Iterable<Statx>
,NativeResource
,Pointer
- Enclosing class:
Statx
An array of
Statx
structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(long address, int cap) Buffer
(ByteBuffer container) Creates a newStatx.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionstx_atime
(Consumer<StatxTimestamp> consumer) Passes thestx_atime
field to the specifiedConsumer
.stx_atime
(StatxTimestamp value) Copies the specifiedStatxTimestamp
to thestx_atime
field.long
stx_attributes
(long value) Sets the specified value to thestx_attributes
field.long
stx_attributes_mask
(long value) Sets the specified value to thestx_attributes_mask
field.int
stx_blksize
(int value) Sets the specified value to thestx_blksize
field.long
stx_blocks
(long value) Sets the specified value to thestx_blocks
field.stx_btime
(Consumer<StatxTimestamp> consumer) Passes thestx_btime
field to the specifiedConsumer
.stx_btime
(StatxTimestamp value) Copies the specifiedStatxTimestamp
to thestx_btime
field.stx_ctime
(Consumer<StatxTimestamp> consumer) Passes thestx_ctime
field to the specifiedConsumer
.stx_ctime
(StatxTimestamp value) Copies the specifiedStatxTimestamp
to thestx_ctime
field.int
stx_dev_major
(int value) Sets the specified value to thestx_dev_major
field.int
stx_dev_minor
(int value) Sets the specified value to thestx_dev_minor
field.int
stx_gid()
stx_gid
(int value) Sets the specified value to thestx_gid
field.long
stx_ino()
stx_ino
(long value) Sets the specified value to thestx_ino
field.int
stx_mask()
stx_mask
(int value) Sets the specified value to thestx_mask
field.long
stx_mnt_id
(long value) Sets the specified value to thestx_mnt_id
field.short
stx_mode()
stx_mode
(short value) Sets the specified value to thestx_mode
field.stx_mtime
(Consumer<StatxTimestamp> consumer) Passes thestx_mtime
field to the specifiedConsumer
.stx_mtime
(StatxTimestamp value) Copies the specifiedStatxTimestamp
to thestx_mtime
field.int
stx_nlink
(int value) Sets the specified value to thestx_nlink
field.int
stx_rdev_major
(int value) Sets the specified value to thestx_rdev_major
field.int
stx_rdev_minor
(int value) Sets the specified value to thestx_rdev_minor
field.long
stx_size()
stx_size
(long value) Sets the specified value to thestx_size
field.int
stx_uid()
stx_uid
(int value) Sets the specified value to thestx_uid
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStatx.Buffer
instance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
Statx.SIZEOF
, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
stx_mask
public int stx_mask()- Returns:
- the value of the
stx_mask
field.
-
stx_blksize
public int stx_blksize()- Returns:
- the value of the
stx_blksize
field.
-
stx_attributes
public long stx_attributes()- Returns:
- the value of the
stx_attributes
field.
-
stx_nlink
public int stx_nlink()- Returns:
- the value of the
stx_nlink
field.
-
stx_uid
public int stx_uid()- Returns:
- the value of the
stx_uid
field.
-
stx_gid
public int stx_gid()- Returns:
- the value of the
stx_gid
field.
-
stx_mode
public short stx_mode()- Returns:
- the value of the
stx_mode
field.
-
stx_ino
public long stx_ino()- Returns:
- the value of the
stx_ino
field.
-
stx_size
public long stx_size()- Returns:
- the value of the
stx_size
field.
-
stx_blocks
public long stx_blocks()- Returns:
- the value of the
stx_blocks
field.
-
stx_attributes_mask
public long stx_attributes_mask()- Returns:
- the value of the
stx_attributes_mask
field.
-
stx_atime
- Returns:
- a
StatxTimestamp
view of thestx_atime
field.
-
stx_btime
- Returns:
- a
StatxTimestamp
view of thestx_btime
field.
-
stx_ctime
- Returns:
- a
StatxTimestamp
view of thestx_ctime
field.
-
stx_mtime
- Returns:
- a
StatxTimestamp
view of thestx_mtime
field.
-
stx_rdev_major
public int stx_rdev_major()- Returns:
- the value of the
stx_rdev_major
field.
-
stx_rdev_minor
public int stx_rdev_minor()- Returns:
- the value of the
stx_rdev_minor
field.
-
stx_dev_major
public int stx_dev_major()- Returns:
- the value of the
stx_dev_major
field.
-
stx_dev_minor
public int stx_dev_minor()- Returns:
- the value of the
stx_dev_minor
field.
-
stx_mnt_id
public long stx_mnt_id()- Returns:
- the value of the
stx_mnt_id
field.
-
stx_mask
Sets the specified value to thestx_mask
field. -
stx_blksize
Sets the specified value to thestx_blksize
field. -
stx_attributes
Sets the specified value to thestx_attributes
field. -
stx_nlink
Sets the specified value to thestx_nlink
field. -
stx_uid
Sets the specified value to thestx_uid
field. -
stx_gid
Sets the specified value to thestx_gid
field. -
stx_mode
Sets the specified value to thestx_mode
field. -
stx_ino
Sets the specified value to thestx_ino
field. -
stx_size
Sets the specified value to thestx_size
field. -
stx_blocks
Sets the specified value to thestx_blocks
field. -
stx_attributes_mask
Sets the specified value to thestx_attributes_mask
field. -
stx_atime
Copies the specifiedStatxTimestamp
to thestx_atime
field. -
stx_atime
Passes thestx_atime
field to the specifiedConsumer
. -
stx_btime
Copies the specifiedStatxTimestamp
to thestx_btime
field. -
stx_btime
Passes thestx_btime
field to the specifiedConsumer
. -
stx_ctime
Copies the specifiedStatxTimestamp
to thestx_ctime
field. -
stx_ctime
Passes thestx_ctime
field to the specifiedConsumer
. -
stx_mtime
Copies the specifiedStatxTimestamp
to thestx_mtime
field. -
stx_mtime
Passes thestx_mtime
field to the specifiedConsumer
. -
stx_rdev_major
Sets the specified value to thestx_rdev_major
field. -
stx_rdev_minor
Sets the specified value to thestx_rdev_minor
field. -
stx_dev_major
Sets the specified value to thestx_dev_major
field. -
stx_dev_minor
Sets the specified value to thestx_dev_minor
field. -
stx_mnt_id
Sets the specified value to thestx_mnt_id
field.
-