Package jnr.posix
Class FreeBSDPOSIX
- java.lang.Object
-
- jnr.posix.NativePOSIX
-
- jnr.posix.BaseNativePOSIX
-
- jnr.posix.FreeBSDPOSIX
-
- All Implemented Interfaces:
POSIX
final class FreeBSDPOSIX 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 intfreebsdVersionstatic BaseNativePOSIX.PointerConverterPASSWD-
Fields inherited from class jnr.posix.BaseNativePOSIX
ConstantConverter, FileStatConverter, GROUP, handler, helper, MsgHdrConverter, signalHandlers, TimesConverter
-
-
Constructor Summary
Constructors Constructor Description FreeBSDPOSIX(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()intconfstr(jnr.constants.platform.Confstr name, java.nio.ByteBuffer buf, int len)intfpathconf(int fd, jnr.constants.platform.Pathconf name)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, 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, 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
-
freebsdVersion
private final int freebsdVersion
-
PASSWD
public static final BaseNativePOSIX.PointerConverter PASSWD
-
-
Constructor Detail
-
FreeBSDPOSIX
FreeBSDPOSIX(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
-
confstr
public int confstr(jnr.constants.platform.Confstr name, java.nio.ByteBuffer buf, int len)- 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
public Times times()
- Specified by:
timesin interfacePOSIX- Overrides:
timesin classBaseNativePOSIX
-
allocatePosixSpawnFileActions
public jnr.ffi.Pointer allocatePosixSpawnFileActions()
- Overrides:
allocatePosixSpawnFileActionsin classNativePOSIX
-
allocatePosixSpawnattr
public jnr.ffi.Pointer allocatePosixSpawnattr()
- Overrides:
allocatePosixSpawnattrin classNativePOSIX
-
-