Package jnr.posix
Class LinuxPOSIX
java.lang.Object
jnr.posix.NativePOSIX
jnr.posix.BaseNativePOSIX
jnr.posix.LinuxPOSIX
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class jnr.posix.BaseNativePOSIX
BaseNativePOSIX.PointerConverter
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BaseNativePOSIX.PointerConverter
private final int
private boolean
private boolean
private boolean
Fields inherited from class jnr.posix.BaseNativePOSIX
ConstantConverter, FileStatConverter, GROUP, handler, helper, MsgHdrConverter, signalHandlers, TimesConverter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjnr.ffi.Pointer
jnr.ffi.Pointer
int
confstr
(jnr.constants.platform.Confstr name, ByteBuffer buf, int len) int
fpathconf
(int fd, jnr.constants.platform.Pathconf name) fstat
(int fd) int
fstat
(FileDescriptor fileDescriptor) int
fstat
(FileDescriptor fileDescriptor, FileStat stat) int
ioprio_get
(int which, int who) int
ioprio_set
(int which, int who, int ioprio) int
private int
private final int
private final int
int
posix_fadvise
(int fd, long offset, long len, jnr.constants.platform.PosixFadvise advise) int
long
sysconf
(jnr.constants.platform.Sysconf name) times()
Methods inherited from class jnr.posix.BaseNativePOSIX
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, fcntl, fcntlInt, fdatasync, flock, fork, fsync, ftruncate, futimens, futimens, futimes, getcwd, getdtablesize, getegid, getenv, geteuid, getfd, getgid, getgrent, getgrgid, getgrnam, getgroups, getgroups, gethostname, 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
Methods inherited from class jnr.posix.NativePOSIX
getRuntime
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jnr.posix.POSIX
access, allocateTimeval, chdir, chmod, chown, close, crypt, crypt, daemon, dup, dup2, endgrent, endpwent, environ, errno, errno, exec, exec, execv, execve, fchmod, fchown, fcntl, fcntl, fcntl, fcntlInt, fdatasync, flock, fork, fsync, ftruncate, futimens, futimens, futimes, getcwd, getdtablesize, getegid, getenv, geteuid, getgid, getgrent, getgrgid, getgrnam, getgroups, getgroups, gethostname, 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
-
Field Details
-
use_fxstat64
private volatile boolean use_fxstat64 -
use_lxstat64
private volatile boolean use_lxstat64 -
use_xstat64
private volatile boolean use_xstat64 -
statVersion
private final int statVersion -
PASSWD
-
-
Constructor Details
-
LinuxPOSIX
LinuxPOSIX(LibCProvider libcProvider, POSIXHandler handler)
-
-
Method Details
-
allocateStat
- Specified by:
allocateStat
in interfacePOSIX
- Specified by:
allocateStat
in classBaseNativePOSIX
-
allocateMsgHdr
- Specified by:
allocateMsgHdr
in interfacePOSIX
-
allocatePosixSpawnFileActions
public jnr.ffi.Pointer allocatePosixSpawnFileActions()- Overrides:
allocatePosixSpawnFileActions
in classNativePOSIX
-
allocatePosixSpawnattr
public jnr.ffi.Pointer allocatePosixSpawnattr()- Overrides:
allocatePosixSpawnattr
in classNativePOSIX
-
socketMacros
- Specified by:
socketMacros
in classNativePOSIX
-
old_fstat
-
fstat
- Specified by:
fstat
in interfacePOSIX
- Overrides:
fstat
in classBaseNativePOSIX
-
fstat
- Specified by:
fstat
in interfacePOSIX
- Overrides:
fstat
in classBaseNativePOSIX
-
fstat
- Specified by:
fstat
in interfacePOSIX
- Overrides:
fstat
in classBaseNativePOSIX
-
fstat
- Specified by:
fstat
in interfacePOSIX
- Overrides:
fstat
in classBaseNativePOSIX
-
old_lstat
-
lstat
- Specified by:
lstat
in interfacePOSIX
- Overrides:
lstat
in classBaseNativePOSIX
-
lstat
- Specified by:
lstat
in interfacePOSIX
- Overrides:
lstat
in classBaseNativePOSIX
-
old_stat
-
stat
- Specified by:
stat
in interfacePOSIX
- Overrides:
stat
in classBaseNativePOSIX
-
stat
- Specified by:
stat
in interfacePOSIX
- Overrides:
stat
in classBaseNativePOSIX
-
sysconf
public long sysconf(jnr.constants.platform.Sysconf name) - Specified by:
sysconf
in interfacePOSIX
- Overrides:
sysconf
in classBaseNativePOSIX
-
confstr
- Specified by:
confstr
in interfacePOSIX
- Overrides:
confstr
in classBaseNativePOSIX
-
fpathconf
public int fpathconf(int fd, jnr.constants.platform.Pathconf name) - Specified by:
fpathconf
in interfacePOSIX
- Overrides:
fpathconf
in classBaseNativePOSIX
-
times
- Specified by:
times
in interfacePOSIX
- Overrides:
times
in classBaseNativePOSIX
-
ioprio_get
public int ioprio_get(int which, int who) - Specified by:
ioprio_get
in interfaceLinux
-
ioprio_set
public int ioprio_set(int which, int who, int ioprio) - Specified by:
ioprio_set
in interfaceLinux
-
posix_fadvise
public int posix_fadvise(int fd, long offset, long len, jnr.constants.platform.PosixFadvise advise) - Specified by:
posix_fadvise
in interfaceLinux
-