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, daemon, dup, dup2, endgrent, endpwent, environ, errno, errno, exec, exec, execv, execve, fchmod, fchown, fcntl, fcntl, fcntlInt, fdatasync, flock, fork, fsync, ftruncate, 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, 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, utimes, utimes, wait, waitpid, waitpid, write, write, write, writegetRuntimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccess, 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, 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, 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, utimes, utimes, wait, waitpid, waitpid, write, write, write, writeprivate 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 POSIXallocateStat in class BaseNativePOSIXpublic MsgHdr allocateMsgHdr()
allocateMsgHdr in interface POSIXpublic jnr.ffi.Pointer allocatePosixSpawnFileActions()
allocatePosixSpawnFileActions in class NativePOSIXpublic jnr.ffi.Pointer allocatePosixSpawnattr()
allocatePosixSpawnattr in class NativePOSIXpublic SocketMacros socketMacros()
socketMacros in class NativePOSIXprivate int old_fstat(int fd,
FileStat stat)
public int fstat(int fd,
FileStat stat)
fstat in interface POSIXfstat in class BaseNativePOSIXpublic FileStat fstat(int fd)
fstat in interface POSIXfstat in class BaseNativePOSIXpublic int fstat(java.io.FileDescriptor fileDescriptor,
FileStat stat)
fstat in interface POSIXfstat in class BaseNativePOSIXpublic FileStat fstat(java.io.FileDescriptor fileDescriptor)
fstat in interface POSIXfstat in class BaseNativePOSIXprivate final int old_lstat(java.lang.String path,
FileStat stat)
public int lstat(java.lang.String path,
FileStat stat)
lstat in interface POSIXlstat in class BaseNativePOSIXpublic FileStat lstat(java.lang.String path)
lstat in interface POSIXlstat in class BaseNativePOSIXprivate final int old_stat(java.lang.String path,
FileStat stat)
public int stat(java.lang.String path,
FileStat stat)
stat in interface POSIXstat in class BaseNativePOSIXpublic FileStat stat(java.lang.String path)
stat in interface POSIXstat in class BaseNativePOSIXpublic long sysconf(jnr.constants.platform.Sysconf name)
sysconf in interface POSIXsysconf in class BaseNativePOSIXpublic Times times()
times in interface POSIXtimes in class BaseNativePOSIXpublic int ioprio_get(int which,
int who)
ioprio_get in interface Linuxpublic int ioprio_set(int which,
int who,
int ioprio)
ioprio_set in interface Linux