Class Native

java.lang.Object
jnr.enxio.channels.Native

public final class Native extends Object
  • Constructor Details

    • Native

      public Native()
  • Method Details

    • libc

      static Native.LibC libc()
    • getRuntime

      static jnr.ffi.Runtime getRuntime()
    • close

      public static int close(int fd) throws IOException
      Throws:
      IOException
    • read

      public static int read(int fd, ByteBuffer dst) throws IOException
      Throws:
      IOException
    • write

      public static int write(int fd, ByteBuffer src) throws IOException
      Throws:
      IOException
    • setBlocking

      public static void setBlocking(int fd, boolean block)
    • shutdown

      public static int shutdown(int fd, int how)
    • getLastErrorString

      public static String getLastErrorString()
    • getLastError

      public static jnr.constants.platform.Errno getLastError()