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 classSolarisPOSIX.Layout-
Nested classes/interfaces inherited from class jnr.posix.BaseNativePOSIX
BaseNativePOSIX.PointerConverter
-
-
Field Summary
Fields Modifier and Type Field Description private static SolarisPOSIX.LayoutFLOCK_LAYOUTstatic intLOCK_EXstatic intLOCK_NBstatic intLOCK_SHstatic intLOCK_UNstatic BaseNativePOSIX.PointerConverterPASSWDstatic intSEEK_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 MsgHdrallocateMsgHdr()jnr.ffi.PointerallocatePosixSpawnattr()jnr.ffi.PointerallocatePosixSpawnFileActions()FileStatallocateStat()intflock(int fd, int operation)SocketMacrossocketMacros()longsysconf(jnr.constants.platform.Sysconf name)Timestimes()-
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, fcntlInt, fdatasync, fork, fstat, fstat, fstat, fstat, 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, 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:
allocateStatin interfacePOSIX- Specified by:
allocateStatin classBaseNativePOSIX
-
allocateMsgHdr
public MsgHdr allocateMsgHdr()
-
socketMacros
public SocketMacros socketMacros()
- Specified by:
socketMacrosin classNativePOSIX
-
sysconf
public long sysconf(jnr.constants.platform.Sysconf name)
- Specified by:
sysconfin interfacePOSIX- Overrides:
sysconfin classBaseNativePOSIX
-
times
public Times times()
- Specified by:
timesin interfacePOSIX- Overrides:
timesin classBaseNativePOSIX
-
flock
public int flock(int fd, int operation)- Specified by:
flockin interfacePOSIX- Overrides:
flockin classBaseNativePOSIX
-
allocatePosixSpawnFileActions
public jnr.ffi.Pointer allocatePosixSpawnFileActions()
- Overrides:
allocatePosixSpawnFileActionsin classNativePOSIX
-
allocatePosixSpawnattr
public jnr.ffi.Pointer allocatePosixSpawnattr()
- Overrides:
allocatePosixSpawnattrin classNativePOSIX
-
-