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 int
freebsdVersion
static BaseNativePOSIX.PointerConverter
PASSWD
-
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 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
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, 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:
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
-
allocatePosixSpawnFileActions
public jnr.ffi.Pointer allocatePosixSpawnFileActions()
- Overrides:
allocatePosixSpawnFileActions
in classNativePOSIX
-
allocatePosixSpawnattr
public jnr.ffi.Pointer allocatePosixSpawnattr()
- Overrides:
allocatePosixSpawnattr
in classNativePOSIX
-
-