Package jnr.posix
Class MacOSPOSIX
- java.lang.Object
-
- jnr.posix.NativePOSIX
-
- jnr.posix.BaseNativePOSIX
-
- jnr.posix.MacOSPOSIX
-
- All Implemented Interfaces:
POSIX
final class MacOSPOSIX extends BaseNativePOSIX
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jnr.posix.BaseNativePOSIX
BaseNativePOSIX.PointerConverter
-
-
Field Summary
Fields Modifier and Type Field Description private NSGetEnvironenvironstatic BaseNativePOSIX.PointerConverterPASSWD-
Fields inherited from class jnr.posix.BaseNativePOSIX
ConstantConverter, FileStatConverter, GROUP, handler, helper, MsgHdrConverter, signalHandlers, TimesConverter
-
-
Constructor Summary
Constructors Constructor Description MacOSPOSIX(LibCProvider libcProvider, POSIXHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MsgHdrallocateMsgHdr()jnr.ffi.PointerallocatePosixSpawnattr()jnr.ffi.PointerallocatePosixSpawnFileActions()FileStatallocateStat()jnr.ffi.Pointerenviron()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, errno, errno, exec, exec, execv, execve, fchmod, fchown, fcntl, fcntl, fcntlInt, fdatasync, flock, 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
-
environ
private final NSGetEnviron environ
-
PASSWD
public static final BaseNativePOSIX.PointerConverter PASSWD
-
-
Constructor Detail
-
MacOSPOSIX
MacOSPOSIX(LibCProvider libcProvider, POSIXHandler handler)
-
-
Method Detail
-
allocateStat
public FileStat allocateStat()
- Specified by:
allocateStatin interfacePOSIX- Specified by:
allocateStatin classBaseNativePOSIX
-
allocateMsgHdr
public MsgHdr allocateMsgHdr()
-
allocatePosixSpawnFileActions
public jnr.ffi.Pointer allocatePosixSpawnFileActions()
- Overrides:
allocatePosixSpawnFileActionsin classNativePOSIX
-
allocatePosixSpawnattr
public jnr.ffi.Pointer allocatePosixSpawnattr()
- Overrides:
allocatePosixSpawnattrin classNativePOSIX
-
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
-
environ
public jnr.ffi.Pointer environ()
- Specified by:
environin interfacePOSIX- Overrides:
environin classBaseNativePOSIX
-
-