public final class Native extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Native.LibC |
static class |
Native.Timespec |
Constructor and Description |
---|
Native() |
Modifier and Type | Method and Description |
---|---|
static int |
close(int fd) |
static jnr.constants.platform.Errno |
getLastError() |
static String |
getLastErrorString() |
static int |
read(int fd,
ByteBuffer dst) |
static void |
setBlocking(int fd,
boolean block) |
static int |
shutdown(int fd,
int how) |
static int |
write(int fd,
ByteBuffer src) |
public static int close(int fd) throws IOException
IOException
public static int read(int fd, ByteBuffer dst) throws IOException
IOException
public static int write(int fd, ByteBuffer src) throws IOException
IOException
public static void setBlocking(int fd, boolean block)
public static int shutdown(int fd, int how)
public static String getLastErrorString()
public static jnr.constants.platform.Errno getLastError()
Copyright © 2024. All rights reserved.