Class LinuxPOSIX
java.lang.Object
jnr.posix.NativePOSIX
jnr.posix.BaseNativePOSIX
jnr.posix.LinuxPOSIX
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class BaseNativePOSIX
BaseNativePOSIX.PointerConverter -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BaseNativePOSIX.PointerConverterprivate final intprivate booleanprivate booleanprivate booleanFields inherited from class BaseNativePOSIX
ConstantConverter, FileStatConverter, GROUP, handler, helper, MsgHdrConverter, signalHandlers, TimesConverter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjnr.ffi.Pointerjnr.ffi.Pointerintconfstr(jnr.constants.platform.Confstr name, ByteBuffer buf, int len) intfpathconf(int fd, jnr.constants.platform.Pathconf name) fstat(int fd) intfstat(FileDescriptor fileDescriptor) intfstat(FileDescriptor fileDescriptor, FileStat stat) intioprio_get(int which, int who) intioprio_set(int which, int who, int ioprio) intprivate intprivate final intprivate final intintposix_fadvise(int fd, long offset, long len, jnr.constants.platform.PosixFadvise advise) intlongsysconf(jnr.constants.platform.Sysconf name) times()Methods inherited from class 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, writeMethods inherited from class NativePOSIX
getRuntimeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
allocateStatin interfacePOSIX- Specified by:
allocateStatin classBaseNativePOSIX
-
allocateMsgHdr
- Specified by:
allocateMsgHdrin interfacePOSIX
-
allocatePosixSpawnFileActions
public jnr.ffi.Pointer allocatePosixSpawnFileActions()- Overrides:
allocatePosixSpawnFileActionsin classNativePOSIX
-
allocatePosixSpawnattr
public jnr.ffi.Pointer allocatePosixSpawnattr()- Overrides:
allocatePosixSpawnattrin classNativePOSIX
-
socketMacros
- Specified by:
socketMacrosin classNativePOSIX
-
old_fstat
-
fstat
- Specified by:
fstatin interfacePOSIX- Overrides:
fstatin classBaseNativePOSIX
-
fstat
- Specified by:
fstatin interfacePOSIX- Overrides:
fstatin classBaseNativePOSIX
-
fstat
- Specified by:
fstatin interfacePOSIX- Overrides:
fstatin classBaseNativePOSIX
-
fstat
- Specified by:
fstatin interfacePOSIX- Overrides:
fstatin classBaseNativePOSIX
-
old_lstat
-
lstat
-
lstat
-
old_stat
-
stat
-
stat
-
sysconf
public long sysconf(jnr.constants.platform.Sysconf name) - Specified by:
sysconfin interfacePOSIX- Overrides:
sysconfin classBaseNativePOSIX
-
confstr
- Specified by:
confstrin interfacePOSIX- Overrides:
confstrin classBaseNativePOSIX
-
fpathconf
public int fpathconf(int fd, jnr.constants.platform.Pathconf name) - Specified by:
fpathconfin interfacePOSIX- Overrides:
fpathconfin classBaseNativePOSIX
-
times
- Specified by:
timesin interfacePOSIX- Overrides:
timesin classBaseNativePOSIX
-
ioprio_get
public int ioprio_get(int which, int who) - Specified by:
ioprio_getin interfaceLinux
-
ioprio_set
public int ioprio_set(int which, int who, int ioprio) - Specified by:
ioprio_setin interfaceLinux
-
posix_fadvise
public int posix_fadvise(int fd, long offset, long len, jnr.constants.platform.PosixFadvise advise) - Specified by:
posix_fadvisein interfaceLinux
-