Package jnr.posix
Class SolarisPOSIX
- java.lang.Object
-
- jnr.posix.NativePOSIX
-
- jnr.posix.BaseNativePOSIX
-
- jnr.posix.SolarisPOSIX
-
- All Implemented Interfaces:
POSIX
final class SolarisPOSIX extends BaseNativePOSIX
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SolarisPOSIX.Layout
-
Nested classes/interfaces inherited from class jnr.posix.BaseNativePOSIX
BaseNativePOSIX.PointerConverter
-
-
Field Summary
Fields Modifier and Type Field Description private static SolarisPOSIX.Layout
FLOCK_LAYOUT
static int
LOCK_EX
static int
LOCK_NB
static int
LOCK_SH
static int
LOCK_UN
static BaseNativePOSIX.PointerConverter
PASSWD
static int
SEEK_SET
-
Fields inherited from class jnr.posix.BaseNativePOSIX
ConstantConverter, FileStatConverter, GROUP, handler, helper, MsgHdrConverter, signalHandlers, TimesConverter
-
-
Constructor Summary
Constructors Constructor Description SolarisPOSIX(LibCProvider libc, POSIXHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MsgHdr
allocateMsgHdr()
jnr.ffi.Pointer
allocatePosixSpawnattr()
jnr.ffi.Pointer
allocatePosixSpawnFileActions()
FileStat
allocateStat()
int
confstr(jnr.constants.platform.Confstr name, java.nio.ByteBuffer buf, int len)
int
flock(int fd, int operation)
int
fpathconf(int fd, jnr.constants.platform.Pathconf name)
SocketMacros
socketMacros()
long
sysconf(jnr.constants.platform.Sysconf name)
Times
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, fork, fstat, fstat, fstat, fstat, 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, lstat, lstat, 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, stat, stat, 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
-
-
-
-
Field Detail
-
LOCK_SH
public static final int LOCK_SH
- See Also:
- Constant Field Values
-
LOCK_EX
public static final int LOCK_EX
- See Also:
- Constant Field Values
-
LOCK_NB
public static final int LOCK_NB
- See Also:
- Constant Field Values
-
LOCK_UN
public static final int LOCK_UN
- See Also:
- Constant Field Values
-
SEEK_SET
public static final int SEEK_SET
- See Also:
- Constant Field Values
-
FLOCK_LAYOUT
private static final SolarisPOSIX.Layout FLOCK_LAYOUT
-
PASSWD
public static final BaseNativePOSIX.PointerConverter PASSWD
-
-
Constructor Detail
-
SolarisPOSIX
SolarisPOSIX(LibCProvider libc, POSIXHandler handler)
-
-
Method Detail
-
allocateStat
public FileStat allocateStat()
- Specified by:
allocateStat
in interfacePOSIX
- Specified by:
allocateStat
in classBaseNativePOSIX
-
allocateMsgHdr
public MsgHdr allocateMsgHdr()
-
socketMacros
public SocketMacros socketMacros()
- Specified by:
socketMacros
in classNativePOSIX
-
sysconf
public long sysconf(jnr.constants.platform.Sysconf name)
- Specified by:
sysconf
in interfacePOSIX
- Overrides:
sysconf
in classBaseNativePOSIX
-
confstr
public int confstr(jnr.constants.platform.Confstr name, java.nio.ByteBuffer buf, int len)
- 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
public Times times()
- Specified by:
times
in interfacePOSIX
- Overrides:
times
in classBaseNativePOSIX
-
flock
public int flock(int fd, int operation)
- Specified by:
flock
in interfacePOSIX
- Overrides:
flock
in classBaseNativePOSIX
-
allocatePosixSpawnFileActions
public jnr.ffi.Pointer allocatePosixSpawnFileActions()
- Overrides:
allocatePosixSpawnFileActions
in classNativePOSIX
-
allocatePosixSpawnattr
public jnr.ffi.Pointer allocatePosixSpawnattr()
- Overrides:
allocatePosixSpawnattr
in classNativePOSIX
-
-