public interface ILibc
Modifier and Type | Method and Description |
---|---|
int |
close(int fd) |
int |
fcntl(int fd,
int cmd,
int arg) |
int |
ioctl(int fd,
int cmd,
int arg) |
int |
ioctl(int fd,
int cmd,
Pointer arg) |
Pointer |
mmap(Pointer addr,
NativeLong len,
int prot,
int flags,
int fd,
NativeLong off) |
int |
msync(Pointer addr,
NativeLong len,
int flags) |
int |
munmap(Pointer addr,
NativeLong len) |
int |
open(java.lang.String path,
int flags,
int mode) |
int |
read(int fd,
java.nio.Buffer buffer,
int count) |
int |
write(int fd,
java.nio.Buffer buffer,
int count) |
int fcntl(int fd, int cmd, int arg) throws LastErrorException
LastErrorException
int ioctl(int fd, int cmd, int arg) throws LastErrorException
LastErrorException
int ioctl(int fd, int cmd, Pointer arg) throws LastErrorException
LastErrorException
int open(java.lang.String path, int flags, int mode) throws LastErrorException
LastErrorException
int close(int fd) throws LastErrorException
LastErrorException
int write(int fd, java.nio.Buffer buffer, int count) throws LastErrorException
LastErrorException
int read(int fd, java.nio.Buffer buffer, int count) throws LastErrorException
LastErrorException
Pointer mmap(Pointer addr, NativeLong len, int prot, int flags, int fd, NativeLong off) throws LastErrorException
LastErrorException
int munmap(Pointer addr, NativeLong len) throws LastErrorException
LastErrorException
int msync(Pointer addr, NativeLong len, int flags) throws LastErrorException
LastErrorException