final class LinuxPOSIX extends BaseNativePOSIX implements Linux
Modifier and Type | Class and Description |
---|---|
static class |
LinuxPOSIX.Syscall |
BaseNativePOSIX.PointerConverter
Modifier and Type | Field and Description |
---|---|
static BaseNativePOSIX.PointerConverter |
PASSWD |
private int |
statVersion |
private boolean |
use_fxstat64 |
private boolean |
use_lxstat64 |
private boolean |
use_xstat64 |
ConstantConverter, FileStatConverter, GROUP, handler, helper, MsgHdrConverter, signalHandlers, TimesConverter
Constructor and Description |
---|
LinuxPOSIX(LibCProvider libcProvider,
POSIXHandler handler) |
Modifier and Type | Method and Description |
---|---|
MsgHdr |
allocateMsgHdr() |
jnr.ffi.Pointer |
allocatePosixSpawnattr() |
jnr.ffi.Pointer |
allocatePosixSpawnFileActions() |
FileStat |
allocateStat() |
FileStat |
fstat(java.io.FileDescriptor fileDescriptor) |
int |
fstat(java.io.FileDescriptor fileDescriptor,
FileStat stat) |
FileStat |
fstat(int fd) |
int |
fstat(int fd,
FileStat stat) |
int |
ioprio_get(int which,
int who) |
int |
ioprio_set(int which,
int who,
int ioprio) |
FileStat |
lstat(java.lang.String path) |
int |
lstat(java.lang.String path,
FileStat stat) |
private int |
old_fstat(int fd,
FileStat stat) |
private int |
old_lstat(java.lang.String path,
FileStat stat) |
private int |
old_stat(java.lang.String path,
FileStat stat) |
SocketMacros |
socketMacros() |
FileStat |
stat(java.lang.String path) |
int |
stat(java.lang.String path,
FileStat stat) |
long |
sysconf(jnr.constants.platform.Sysconf name) |
Times |
times() |
access, allocateTimeval, chdir, chmod, chown, close, crypt, crypt, crypt, daemon, dup, dup2, endgrent, endpwent, environ, errno, errno, exec, exec, execv, execve, fchmod, fchown, fcntl, fcntl, fcntlInt, fdatasync, flock, fork, fsync, ftruncate, futimens, futimens, futimes, getcwd, getdtablesize, getegid, getenv, geteuid, getfd, getgid, getgrent, getgrgid, getgrnam, getgroups, getgroups, getlogin, getpgid, getpgid, getpgrp, getpid, getppid, getpriority, getpwent, getpwnam, getpwuid, getrlimit, getrlimit, getrlimit, gettimeofday, getuid, handler, isatty, isatty, isNative, kill, kill, lchmod, lchown, libc, link, lseek, lseekLong, lutimes, mkdir, mkfifo, newProcessMaker, newProcessMaker, nl_langinfo, open, pipe, posix_spawnp, posix_spawnp, posix_spawnp, posix_spawnp, pread, pread, pread, pread, pwrite, pwrite, pwrite, pwrite, raise, read, read, read, read, readlink, readlink, readlink, readlink, recvmsg, rename, rmdir, sendmsg, setegid, setenv, seteuid, setgid, setgrent, setlocale, setpgid, setpgrp, setpriority, setpwent, setrlimit, setrlimit, setrlimit, setsid, setuid, signal, socketpair, strerror, symlink, truncate, umask, unimplementedInt, unimplementedNull, unlink, unsetenv, utimensat, utimensat, utimes, utimes, wait, waitpid, waitpid, write, write, write, write
getRuntime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
access, allocateTimeval, chdir, chmod, chown, close, crypt, crypt, daemon, dup, dup2, endgrent, endpwent, environ, errno, errno, exec, exec, execv, execve, fchmod, fchown, fcntl, fcntl, fcntlInt, fdatasync, flock, fork, fsync, ftruncate, futimens, futimens, futimes, getcwd, getdtablesize, getegid, getenv, geteuid, getgid, getgrent, getgrgid, getgrnam, getgroups, getgroups, getlogin, getpgid, getpgid, getpgrp, getpid, getppid, getpriority, getpwent, getpwnam, getpwuid, getrlimit, getrlimit, getrlimit, gettimeofday, getuid, isatty, isatty, isNative, kill, kill, lchmod, lchown, libc, link, lseek, lseekLong, lutimes, mkdir, mkfifo, newProcessMaker, newProcessMaker, nl_langinfo, open, pipe, posix_spawnp, posix_spawnp, pread, pread, pread, pread, pwrite, pwrite, pwrite, pwrite, raise, read, read, read, read, readlink, readlink, readlink, readlink, recvmsg, rename, rmdir, sendmsg, setegid, setenv, seteuid, setgid, setgrent, setlocale, setpgid, setpgrp, setpriority, setpwent, setrlimit, setrlimit, setrlimit, setsid, setuid, signal, socketpair, strerror, symlink, truncate, umask, unlink, unsetenv, utimensat, utimensat, utimes, utimes, wait, waitpid, waitpid, write, write, write, write
private volatile boolean use_fxstat64
private volatile boolean use_lxstat64
private volatile boolean use_xstat64
private final int statVersion
public static final BaseNativePOSIX.PointerConverter PASSWD
LinuxPOSIX(LibCProvider libcProvider, POSIXHandler handler)
public FileStat allocateStat()
allocateStat
in interface POSIX
allocateStat
in class BaseNativePOSIX
public MsgHdr allocateMsgHdr()
allocateMsgHdr
in interface POSIX
public jnr.ffi.Pointer allocatePosixSpawnFileActions()
allocatePosixSpawnFileActions
in class NativePOSIX
public jnr.ffi.Pointer allocatePosixSpawnattr()
allocatePosixSpawnattr
in class NativePOSIX
public SocketMacros socketMacros()
socketMacros
in class NativePOSIX
private int old_fstat(int fd, FileStat stat)
public int fstat(int fd, FileStat stat)
fstat
in interface POSIX
fstat
in class BaseNativePOSIX
public FileStat fstat(int fd)
fstat
in interface POSIX
fstat
in class BaseNativePOSIX
public int fstat(java.io.FileDescriptor fileDescriptor, FileStat stat)
fstat
in interface POSIX
fstat
in class BaseNativePOSIX
public FileStat fstat(java.io.FileDescriptor fileDescriptor)
fstat
in interface POSIX
fstat
in class BaseNativePOSIX
private final int old_lstat(java.lang.String path, FileStat stat)
public int lstat(java.lang.String path, FileStat stat)
lstat
in interface POSIX
lstat
in class BaseNativePOSIX
public FileStat lstat(java.lang.String path)
lstat
in interface POSIX
lstat
in class BaseNativePOSIX
private final int old_stat(java.lang.String path, FileStat stat)
public int stat(java.lang.String path, FileStat stat)
stat
in interface POSIX
stat
in class BaseNativePOSIX
public FileStat stat(java.lang.String path)
stat
in interface POSIX
stat
in class BaseNativePOSIX
public long sysconf(jnr.constants.platform.Sysconf name)
sysconf
in interface POSIX
sysconf
in class BaseNativePOSIX
public Times times()
times
in interface POSIX
times
in class BaseNativePOSIX
public int ioprio_get(int which, int who)
ioprio_get
in interface Linux
public int ioprio_set(int which, int who, int ioprio)
ioprio_set
in interface Linux