public final class Native
extends java.lang.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 java.lang.String |
getLastErrorString() |
static int |
read(int fd,
java.nio.ByteBuffer dst) |
static void |
setBlocking(int fd,
boolean block) |
static int |
shutdown(int fd,
int how) |
static int |
write(int fd,
java.nio.ByteBuffer src) |
public static int close(int fd)
throws java.io.IOException
java.io.IOExceptionpublic static int read(int fd,
java.nio.ByteBuffer dst)
throws java.io.IOException
java.io.IOExceptionpublic static int write(int fd,
java.nio.ByteBuffer src)
throws java.io.IOException
java.io.IOExceptionpublic static void setBlocking(int fd,
boolean block)
public static int shutdown(int fd,
int how)
public static java.lang.String getLastErrorString()
public static jnr.constants.platform.Errno getLastError()
Copyright © 2020. All Rights Reserved.