Modifier and Type | Method and Description |
---|---|
boolean |
access(java.lang.String path,
int mode) |
void |
chmod(java.lang.String path,
int mode) |
void |
close(FileDescriptor fd) |
FileDescriptor |
dup(FileDescriptor oldFd) |
FileDescriptor |
dup2(FileDescriptor oldFd,
int newFd) |
java.lang.String[] |
environ() |
int |
fcntlFlock(FileDescriptor fd,
int cmd,
StructFlock arg) |
int |
fcntlLong(FileDescriptor fd,
int cmd,
long arg) |
int |
fcntlVoid(FileDescriptor fd,
int cmd) |
void |
fdatasync(FileDescriptor fd) |
StructStat |
fstat(FileDescriptor fd) |
StructStatFs |
fstatfs(FileDescriptor fd) |
void |
fsync(FileDescriptor fd) |
void |
ftruncate(FileDescriptor fd,
long length) |
java.lang.String |
gai_strerror(int error) |
int |
getegid() |
java.lang.String |
getenv(java.lang.String name) |
int |
geteuid() |
int |
getgid() |
int |
getpid() |
int |
getppid() |
StructPasswd |
getpwnam(java.lang.String name) |
StructPasswd |
getpwuid(int uid) |
int |
getuid() |
int |
ioctlInt(FileDescriptor fd,
int cmd,
int arg) |
boolean |
isatty(FileDescriptor fd) |
void |
kill(int pid,
int signal) |
void |
link(java.lang.String from,
java.lang.String to) |
void |
listen(FileDescriptor fd,
int backlog) |
StructStat |
lstat(java.lang.String path) |
void |
mincore(long address,
long byteCount,
byte[] vector) |
void |
mkdir(java.lang.String path,
int mode) |
void |
mlock(long address,
long byteCount) |
long |
mmap(long address,
long byteCount,
int prot,
int flags,
FileDescriptor fd,
long offset) |
void |
msync(long address,
long byteCount,
int flags) |
void |
munlock(long address,
long byteCount) |
void |
munmap(long address,
long byteCount) |
FileDescriptor |
open(java.lang.String path,
int flags,
int mode) |
FileDescriptor[] |
pipe() |
int |
poll(StructPollfd[] fds,
int timeoutMs) |
int |
pread(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
long offset) |
int |
pread(FileDescriptor fd,
java.nio.ByteBuffer buffer,
long offset) |
int |
pwrite(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
long offset,
int flags) |
int |
pwrite(FileDescriptor fd,
java.nio.ByteBuffer buffer,
long offset,
int flags) |
int |
read(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount) |
int |
read(FileDescriptor fd,
java.nio.ByteBuffer buffer) |
int |
readv(FileDescriptor fd,
java.lang.Object[] buffers,
int[] offsets,
int[] byteCounts) |
void |
remove(java.lang.String path) |
void |
rename(java.lang.String oldPath,
java.lang.String newPath) |
void |
rmdir(java.lang.String path) |
void |
setegid(int egid) |
void |
seteuid(int euid) |
void |
setgid(int gid) |
void |
setuid(int uid) |
void |
shutdown(FileDescriptor fd,
int how) |
FileDescriptor |
socket(int domain,
int type,
int protocol) |
StructStat |
stat(java.lang.String path) |
StructStatFs |
statfs(java.lang.String path) |
java.lang.String |
strerror(int errno) |
void |
symlink(java.lang.String oldPath,
java.lang.String newPath) |
long |
sysconf(int name) |
StructUtsname |
uname() |
void |
unlink(java.lang.String path) |
int |
waitpid(int pid,
int status,
int options) |
int |
write(FileDescriptor fd,
byte[] bytes,
int byteOffset,
int byteCount,
int flags) |
int |
write(FileDescriptor fd,
java.nio.ByteBuffer buffer,
int flags) |
int |
writev(FileDescriptor fd,
java.lang.Object[] buffers,
int[] offsets,
int[] byteCounts) |
public boolean access(java.lang.String path, int mode) throws ErrnoException
access
in interface Os
ErrnoException
public void chmod(java.lang.String path, int mode) throws ErrnoException
chmod
in interface Os
ErrnoException
public void close(FileDescriptor fd) throws ErrnoException
close
in interface Os
ErrnoException
public void fsync(FileDescriptor fd) throws ErrnoException
fsync
in interface Os
ErrnoException
public void ftruncate(FileDescriptor fd, long length) throws ErrnoException
ftruncate
in interface Os
ErrnoException
public void link(java.lang.String from, java.lang.String to) throws ErrnoException
ErrnoException
public void mkdir(java.lang.String path, int mode) throws ErrnoException
mkdir
in interface Os
ErrnoException
public FileDescriptor open(java.lang.String path, int flags, int mode) throws ErrnoException
open
in interface Os
ErrnoException
public int pread(FileDescriptor fd, java.nio.ByteBuffer buffer, long offset) throws ErrnoException
pread
in interface Os
ErrnoException
public int pread(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset) throws ErrnoException
pread
in interface Os
ErrnoException
public int read(FileDescriptor fd, java.nio.ByteBuffer buffer) throws ErrnoException
read
in interface Os
ErrnoException
public int read(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount) throws ErrnoException
read
in interface Os
ErrnoException
public void remove(java.lang.String path) throws ErrnoException
remove
in interface Os
ErrnoException
public void rename(java.lang.String oldPath, java.lang.String newPath) throws ErrnoException
rename
in interface Os
ErrnoException
public void rmdir(java.lang.String path) throws ErrnoException
ErrnoException
public StructStatFs statfs(java.lang.String path) throws ErrnoException
statfs
in interface Os
ErrnoException
public StructStatFs fstatfs(FileDescriptor fd) throws ErrnoException
fstatfs
in interface Os
ErrnoException
public void symlink(java.lang.String oldPath, java.lang.String newPath) throws ErrnoException
symlink
in interface Os
ErrnoException
public void unlink(java.lang.String path) throws ErrnoException
ErrnoException
public int write(FileDescriptor fd, java.nio.ByteBuffer buffer, int flags) throws ErrnoException
write
in interface Os
ErrnoException
public int write(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags) throws ErrnoException
write
in interface Os
ErrnoException
public int pwrite(FileDescriptor fd, java.nio.ByteBuffer buffer, long offset, int flags) throws ErrnoException
pwrite
in interface Os
ErrnoException
public int pwrite(FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, long offset, int flags) throws ErrnoException
pwrite
in interface Os
ErrnoException
public StructStat stat(java.lang.String path) throws ErrnoException
stat
in interface Os
ErrnoException
public StructStat fstat(FileDescriptor fd) throws ErrnoException
fstat
in interface Os
ErrnoException
public FileDescriptor dup(FileDescriptor oldFd) throws java.lang.UnsupportedOperationException
public FileDescriptor dup2(FileDescriptor oldFd, int newFd) throws java.lang.UnsupportedOperationException
public java.lang.String[] environ() throws java.lang.UnsupportedOperationException
public int fcntlVoid(FileDescriptor fd, int cmd) throws java.lang.UnsupportedOperationException
public int fcntlLong(FileDescriptor fd, int cmd, long arg) throws java.lang.UnsupportedOperationException
public int fcntlFlock(FileDescriptor fd, int cmd, StructFlock arg) throws java.lang.UnsupportedOperationException
fcntlFlock
in interface Os
java.lang.UnsupportedOperationException
public void fdatasync(FileDescriptor fd) throws java.lang.UnsupportedOperationException
public java.lang.String gai_strerror(int error) throws java.lang.UnsupportedOperationException
gai_strerror
in interface Os
java.lang.UnsupportedOperationException
public int getegid() throws java.lang.UnsupportedOperationException
public int geteuid() throws java.lang.UnsupportedOperationException
public int getgid() throws java.lang.UnsupportedOperationException
public java.lang.String getenv(java.lang.String name) throws java.lang.UnsupportedOperationException
public int getpid() throws java.lang.UnsupportedOperationException
public int getppid() throws java.lang.UnsupportedOperationException
public StructPasswd getpwnam(java.lang.String name) throws java.lang.UnsupportedOperationException
public StructPasswd getpwuid(int uid) throws java.lang.UnsupportedOperationException
public int getuid() throws java.lang.UnsupportedOperationException
public int ioctlInt(FileDescriptor fd, int cmd, int arg) throws java.lang.UnsupportedOperationException
public boolean isatty(FileDescriptor fd) throws java.lang.UnsupportedOperationException
public void kill(int pid, int signal) throws java.lang.UnsupportedOperationException
public void listen(FileDescriptor fd, int backlog) throws java.lang.UnsupportedOperationException
public StructStat lstat(java.lang.String path) throws java.lang.UnsupportedOperationException
public void mincore(long address, long byteCount, byte[] vector) throws java.lang.UnsupportedOperationException
public void mlock(long address, long byteCount) throws java.lang.UnsupportedOperationException
public long mmap(long address, long byteCount, int prot, int flags, FileDescriptor fd, long offset) throws java.lang.UnsupportedOperationException
public void msync(long address, long byteCount, int flags) throws java.lang.UnsupportedOperationException
public void munlock(long address, long byteCount) throws java.lang.UnsupportedOperationException
public void munmap(long address, long byteCount) throws java.lang.UnsupportedOperationException
public FileDescriptor[] pipe() throws java.lang.UnsupportedOperationException
public int poll(StructPollfd[] fds, int timeoutMs) throws java.lang.UnsupportedOperationException
public int readv(FileDescriptor fd, java.lang.Object[] buffers, int[] offsets, int[] byteCounts) throws java.lang.UnsupportedOperationException
public void setegid(int egid) throws java.lang.UnsupportedOperationException
public void seteuid(int euid) throws java.lang.UnsupportedOperationException
public void setgid(int gid) throws java.lang.UnsupportedOperationException
public void setuid(int uid) throws java.lang.UnsupportedOperationException
public void shutdown(FileDescriptor fd, int how) throws java.lang.UnsupportedOperationException
public FileDescriptor socket(int domain, int type, int protocol) throws java.lang.UnsupportedOperationException
public long sysconf(int name) throws java.lang.UnsupportedOperationException
public StructUtsname uname() throws java.lang.UnsupportedOperationException
public int waitpid(int pid, int status, int options) throws java.lang.UnsupportedOperationException
public int writev(FileDescriptor fd, java.lang.Object[] buffers, int[] offsets, int[] byteCounts) throws java.lang.UnsupportedOperationException