-
- All Known Implementing Classes:
WinLibCAdapter
- Enclosing class:
- Native
public static interface Native.LibC
-
-
Field Summary
Fields Modifier and Type Field Description static intF_GETFLstatic intF_SETFLstatic intO_NONBLOCK
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intclose(int fd)intfcntl(int fd, int cmd, int data)intkevent(int kq, ByteBuffer changebuf, int nchanges, ByteBuffer eventbuf, int nevents, Native.Timespec timeout)intkevent(int kq, jnr.ffi.Pointer changebuf, int nchanges, jnr.ffi.Pointer eventbuf, int nevents, Native.Timespec timeout)intkqueue()intpipe(int[] fds)intpoll(ByteBuffer pfds, int nfds, int timeout)intpoll(jnr.ffi.Pointer pfds, int nfds, int timeout)intread(int fd, byte[] data, long size)intread(int fd, ByteBuffer data, long size)intshutdown(int s, int how)Stringstrerror(int error)intwrite(int fd, byte[] data, long size)intwrite(int fd, ByteBuffer data, long size)
-
-
-
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, ByteBuffer changebuf, int nchanges, ByteBuffer eventbuf, int nevents, Native.Timespec timeout)
-
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)
-
-