public class Uio extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Uio.iovec
Structure for scatter/gather I/O.
|
| Constructor and Description |
|---|
Uio() |
| Modifier and Type | Method and Description |
|---|---|
static org.graalvm.word.SignedWord |
preadv(int fd,
Uio.iovec iovec,
int count,
long offset)
Read data from file descriptor FD at the given position OFFSET without change the file
pointer, and put the result in the buffers described by IOVEC, which is a vector of COUNT
'struct iovec's.
|
static org.graalvm.word.SignedWord |
process_vm_readv(int pid,
Uio.iovec lvec,
org.graalvm.word.UnsignedWord liovcnt,
Uio.iovec rvec,
org.graalvm.word.UnsignedWord riovcnt,
org.graalvm.word.UnsignedWord flags)
Read from another process' address space.
|
static org.graalvm.word.SignedWord |
process_vm_writev(int pid,
Uio.iovec lvec,
org.graalvm.word.UnsignedWord liovcnt,
Uio.iovec rvec,
org.graalvm.word.UnsignedWord riovcnt,
org.graalvm.word.UnsignedWord flags)
Write to another process' address space.
|
static org.graalvm.word.SignedWord |
pwritev(int fd,
Uio.iovec iovec,
int count,
long offset)
Write data pointed by the buffers described by IOVEC, which is a vector of COUNT 'struct
iovec's, to file descriptor FD at the given position OFFSET without change the file pointer.
|
static org.graalvm.word.SignedWord |
readv(int fd,
Uio.iovec iovec,
int count)
Read data from file descriptor FD, and put the result in the buffers described by IOVEC,
which is a vector of COUNT 'struct iovec's.
|
static int |
UIO_MAXIOV()
Size of object which can be written atomically.
|
static org.graalvm.word.SignedWord |
writev(int fd,
Uio.iovec iovec,
int count)
Write data pointed by the buffers described by IOVEC, which is a vector of COUNT 'struct
iovec's, to file descriptor FD.
|
public static int UIO_MAXIOV()
public static org.graalvm.word.SignedWord process_vm_readv(int pid,
Uio.iovec lvec,
org.graalvm.word.UnsignedWord liovcnt,
Uio.iovec rvec,
org.graalvm.word.UnsignedWord riovcnt,
org.graalvm.word.UnsignedWord flags)
public static org.graalvm.word.SignedWord process_vm_writev(int pid,
Uio.iovec lvec,
org.graalvm.word.UnsignedWord liovcnt,
Uio.iovec rvec,
org.graalvm.word.UnsignedWord riovcnt,
org.graalvm.word.UnsignedWord flags)
public static org.graalvm.word.SignedWord readv(int fd,
Uio.iovec iovec,
int count)
public static org.graalvm.word.SignedWord writev(int fd,
Uio.iovec iovec,
int count)
public static org.graalvm.word.SignedWord preadv(int fd,
Uio.iovec iovec,
int count,
long offset)
public static org.graalvm.word.SignedWord pwritev(int fd,
Uio.iovec iovec,
int count,
long offset)