Interface Native.LibC

  • All Known Implementing Classes:
    WinLibCAdapter
    Enclosing class:
    Native

    public static interface Native.LibC
    • Field Detail

      • F_GETFL

        static final int F_GETFL
      • F_SETFL

        static final int F_SETFL
      • O_NONBLOCK

        static final int O_NONBLOCK
    • Method Detail

      • close

        int close​(int fd)
      • read

        int read​(int fd,
                 ByteBuffer data,
                 long size)
      • read

        int read​(int fd,
                 byte[] data,
                 long size)
      • write

        int write​(int fd,
                  ByteBuffer data,
                  long size)
      • write

        int write​(int fd,
                  byte[] data,
                  long size)
      • fcntl

        int fcntl​(int fd,
                  int cmd,
                  int data)
      • poll

        int poll​(ByteBuffer pfds,
                 int nfds,
                 int timeout)
      • poll

        int poll​(jnr.ffi.Pointer pfds,
                 int nfds,
                 int timeout)
      • kqueue

        int kqueue()
      • kevent

        int kevent​(int kq,
                   jnr.ffi.Pointer changebuf,
                   int nchanges,
                   jnr.ffi.Pointer eventbuf,
                   int nevents,
                   Native.Timespec timeout)
      • pipe

        int pipe​(int[] fds)
      • shutdown

        int shutdown​(int s,
                     int how)
      • strerror

        String strerror​(int error)