public class JNILinuxNativeUtil extends JNICommonNativeUtil implements LinuxNativeUtil
JNICommonNativeUtil.BufferPointerHandlerLinuxNativeUtil.lseek_whence| Constructor and Description |
|---|
JNILinuxNativeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
_getConst(DefaultLinuxConstProvider provider) |
protected static long |
_mmap(int fd,
long length,
int flags,
boolean read,
boolean write,
long offset) |
protected static void |
_msync(long ptr,
long off,
long len,
boolean invalidate) |
protected static void |
_munmap(long ptr,
long length) |
void |
bind(int fd,
Sockaddr sockaddr) |
void |
chdir(String path) |
void |
chmod(String path,
int mode) |
void |
chown(String path,
int uid,
int gid) |
void |
close(int fd) |
void |
connect(int fd,
Sockaddr sockaddr) |
void |
fchmod(int fd,
int mode) |
void |
fchown(int fd,
int uid,
int gid) |
int |
fcntl(int fd,
int code) |
int |
fcntl(int fd,
int code,
byte[] param,
int off) |
int |
fcntl(int fd,
int code,
int param) |
int |
fcntl(int fd,
int code,
long param) |
int |
fcntl(int fd,
int code,
NativeMemory mem,
long off) |
InetSocketAddress |
from_sockaddr_in(Sockaddr sockaddr) |
String |
from_sockaddr_un(Sockaddr sockaddr) |
long |
from_struct_timeval(byte[] timeval) |
Stat |
fstat(int descriptor) |
void |
fsync(int fd) |
void |
ftruncate(int fd,
long len) |
String |
getenv(String key) |
long |
geteuid() |
int |
getFD(FileDescriptor fd) |
Group |
getgrgid_r(long group) |
long[] |
getgrouplist(String user,
long group) |
LinuxConstProvider |
getLinuxConstProvider() |
String |
getlogin_r() |
int |
getpagesize() |
Passwd |
getpwnam_r(String user) |
Passwd |
getpwuid_r(long id) |
void |
getsockname(int fd,
Sockaddr sockaddr) |
int |
getsockopt(int fd,
int level,
int optname) |
byte[] |
getsockopt(int fd,
int level,
int optname,
int payloadSize) |
long |
getuid() |
String |
if_indextoname(int index) |
Collection<IfNameIndex> |
if_nameindex() |
int |
if_nametoindex(String name) |
InputStream |
inputStreamFromFD(int fd,
boolean close) |
int |
ioctl(int fd,
int code) |
int |
ioctl(int fd,
int code,
byte[] buf,
int off) |
int |
ioctl(int fd,
int code,
long ptr) |
int |
ioctl(int fd,
int code,
NativeMemory mem,
long off) |
boolean |
isLinux() |
boolean |
isWindows() |
void |
lchown(String path,
int uid,
int gid) |
void |
link(String target,
String linkpath) |
long |
lseek(int fd,
long off,
LinuxNativeUtil.lseek_whence whence) |
Stat |
lstat(String path) |
void |
mkfifo(String name,
int mode) |
long |
mmap(int fd,
long length,
int flags,
boolean read,
boolean write,
long offset) |
void |
msync(long ptr,
long off,
long len,
boolean invalidate) |
void |
munmap(long ptr,
long size) |
int |
open(String path,
int flags) |
int |
open(String path,
int flags,
int mode) |
OutputStream |
outputStreamFromFD(int fd,
boolean close) |
Collection<Cmsghdr> |
parseCMSG_HDR(byte[] msg_control,
int msg_controllen) |
int |
poll(PollFD[] fds,
int timeout) |
void |
pthread_cond_broadcast(long condition) |
void |
pthread_cond_destroy(long condition) |
void |
pthread_cond_init(long condition,
long attributes) |
void |
pthread_cond_signal(long condition) |
boolean |
pthread_cond_timedwait(long condition,
long mutex,
long timeout) |
void |
pthread_cond_wait(long condition,
long mutex) |
void |
pthread_condattr_destroy(long attributes) |
int |
pthread_condattr_getpshared(long attributes) |
void |
pthread_condattr_init(long attributes) |
void |
pthread_condattr_setpshared(long attributes,
int value) |
void |
pthread_mutex_consistent(long mutex) |
void |
pthread_mutex_destroy(long mutex) |
void |
pthread_mutex_init(long mutex,
long attributes) |
void |
pthread_mutex_lock(long mutex) |
boolean |
pthread_mutex_timedlock(long mutex,
long timeout) |
boolean |
pthread_mutex_trylock(long mutex) |
void |
pthread_mutex_unlock(long mutex) |
void |
pthread_mutexattr_destroy(long attributes) |
int |
pthread_mutexattr_getpshared(long attributes) |
int |
pthread_mutexattr_getrobust(long attributes) |
int |
pthread_mutexattr_gettype(long attributes) |
void |
pthread_mutexattr_init(long attributes) |
void |
pthread_mutexattr_setpshared(long attributes,
int value) |
void |
pthread_mutexattr_setrobust(long attributes,
int value) |
void |
pthread_mutexattr_settype(long attributes,
int value) |
int |
read(int fd,
byte[] buffer,
int off,
int len) |
int |
read(int fd,
ByteBuffer buf,
int len) |
protected int |
read(int fd,
long ptr,
int len) |
int |
read(int fd,
NativeMemory mem,
long off,
int len) |
String |
readlink(String path) |
String |
realpath(String path) |
int |
recvfrom(int fd,
byte[] buffer,
int off,
int len,
int flags,
Sockaddr sockaddr) |
int |
recvmsg(int fd,
Msghdr msghdr,
int flags) |
void |
sem_close(long sem) |
void |
sem_destroy(long sem) |
int |
sem_getvalue(long sem) |
void |
sem_init(long sem,
boolean interprocess,
int value) |
long |
sem_open(String name,
int oflags) |
long |
sem_open(String name,
int oflags,
int mode,
int value) |
void |
sem_post(long sem) |
int |
sem_t_size() |
boolean |
sem_timedwait(long sem,
long timeoutInMillis) |
boolean |
sem_trywait(long sem) |
void |
sem_unlink(String name) |
void |
sem_wait(long sem) |
int |
sendmsg(int fd,
Msghdr msghdr,
int flags) |
void |
setenv(String key,
String value,
boolean overwrite) |
void |
setsockopt(int fd,
int level,
int optname,
byte[] payload) |
void |
setsockopt(int fd,
int level,
int optname,
int payload) |
int |
shm_open(String name,
int oflag,
int mode) |
void |
shm_unlink(String name) |
long |
sizeof_pthread_cond_t() |
long |
sizeof_pthread_condattr_t() |
long |
sizeof_pthread_mutex_t() |
long |
sizeof_pthread_mutexattr_t() |
int |
socket(int domain,
int type,
int protocol) |
Stat |
stat(String path) |
Statvfs |
statvfs(String path) |
String |
strerror_r(int errno) |
void |
symlink(String targetPath,
String sourcePath) |
Sockaddr |
to_sockaddr_in(InetSocketAddress address) |
Sockaddr |
to_sockaddr_un(String path) |
byte[] |
to_struct_timeval(long timestamp) |
void |
truncate(String name,
long len) |
Utsname |
uname() |
void |
unsetenv(String key) |
String[] |
wordexp(String expression,
boolean allowCommands,
boolean useStdErr,
boolean allowUndef) |
int |
write(int fd,
byte[] buffer,
int off,
int len) |
int |
write(int fd,
ByteBuffer buf,
int len) |
protected int |
write(int fd,
long ptr,
int len) |
int |
write(int fd,
NativeMemory mem,
long off,
int len) |
__get_cpuid_count_model, __get_cpuid_count, _free, _malloc, AllocObject, DefineClass, DeleteGlobalRef, free, FromReflectedField, FromReflectedMethod, FromReflectedMethod, GetDirectBufferAddress, GetDirectBufferAddress, GetFieldID, GetMethodID, getPointerSize, GetStaticFieldID, GetStaticMethodID, isJVM, isNoop, malloc, MonitorEnter, MonitorExit, NewDirectByteBuffer, NewGlobalRef, NewLocalRef, pointer, Throwclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait__get_cpuid_count_model, __get_cpuid_count, getPointerSize, malloc, pointerisJVM, isNooppublic static void _getConst(DefaultLinuxConstProvider provider)
public LinuxConstProvider getLinuxConstProvider()
getLinuxConstProvider in interface LinuxNativeUtilpublic boolean isWindows()
isWindows in interface NativeUtilpublic boolean isLinux()
isLinux in interface NativeUtilpublic int getFD(FileDescriptor fd)
getFD in interface LinuxNativeUtilpublic InputStream inputStreamFromFD(int fd, boolean close)
inputStreamFromFD in interface LinuxNativeUtilpublic OutputStream outputStreamFromFD(int fd, boolean close)
outputStreamFromFD in interface LinuxNativeUtilpublic int if_nametoindex(String name) throws UnknownNativeErrorException
if_nametoindex in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic String if_indextoname(int index) throws UnknownNativeErrorException
if_indextoname in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic Collection<IfNameIndex> if_nameindex() throws UnknownNativeErrorException
if_nameindex in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic int open(String path, int flags) throws AccessDeniedException, QuotaExceededException, IOException, FileSystemLoopException, InvalidPathException, FileNotFoundException, ReadOnlyFileSystemException, UnknownNativeErrorException
public int open(String path, int flags, int mode) throws AccessDeniedException, QuotaExceededException, IOException, FileSystemLoopException, InvalidPathException, FileNotFoundException, ReadOnlyFileSystemException, UnknownNativeErrorException
public long lseek(int fd,
long off,
LinuxNativeUtil.lseek_whence whence)
lseek in interface LinuxNativeUtilpublic byte[] to_struct_timeval(long timestamp)
to_struct_timeval in interface LinuxNativeUtilpublic long from_struct_timeval(byte[] timeval)
from_struct_timeval in interface LinuxNativeUtilpublic Sockaddr to_sockaddr_in(InetSocketAddress address)
to_sockaddr_in in interface LinuxNativeUtilpublic InetSocketAddress from_sockaddr_in(Sockaddr sockaddr)
from_sockaddr_in in interface LinuxNativeUtilpublic Sockaddr to_sockaddr_un(String path)
to_sockaddr_un in interface LinuxNativeUtilpublic String from_sockaddr_un(Sockaddr sockaddr)
from_sockaddr_un in interface LinuxNativeUtilpublic int socket(int domain,
int type,
int protocol)
socket in interface LinuxNativeUtilpublic int poll(PollFD[] fds, int timeout)
poll in interface LinuxNativeUtilpublic int read(int fd,
byte[] buffer,
int off,
int len)
read in interface LinuxNativeUtilprotected int read(int fd,
long ptr,
int len)
public int read(int fd,
NativeMemory mem,
long off,
int len)
throws InvalidFileDescriptorException,
IllegalArgumentException,
IOException,
UnknownNativeErrorException
read in interface LinuxNativeUtilInvalidFileDescriptorExceptionIllegalArgumentExceptionIOExceptionUnknownNativeErrorExceptionpublic int read(int fd,
ByteBuffer buf,
int len)
throws InvalidFileDescriptorException,
IllegalArgumentException,
IOException,
UnknownNativeErrorException
read in interface LinuxNativeUtilInvalidFileDescriptorExceptionIllegalArgumentExceptionIOExceptionUnknownNativeErrorExceptionpublic void fsync(int fd)
throws InvalidFileDescriptorException,
IOException,
ReadOnlyFileSystemException
fsync in interface LinuxNativeUtilInvalidFileDescriptorExceptionIOExceptionReadOnlyFileSystemExceptionpublic int write(int fd,
byte[] buffer,
int off,
int len)
throws InvalidFileDescriptorException,
IllegalArgumentException,
IOException,
UnknownNativeErrorException
write in interface LinuxNativeUtilInvalidFileDescriptorExceptionIllegalArgumentExceptionIOExceptionUnknownNativeErrorExceptionpublic int write(int fd,
ByteBuffer buf,
int len)
throws InvalidFileDescriptorException,
IllegalArgumentException,
IOException,
UnknownNativeErrorException
write in interface LinuxNativeUtilInvalidFileDescriptorExceptionIllegalArgumentExceptionIOExceptionUnknownNativeErrorExceptionprotected int write(int fd,
long ptr,
int len)
public int write(int fd,
NativeMemory mem,
long off,
int len)
throws InvalidFileDescriptorException,
IllegalArgumentException,
IOException,
UnknownNativeErrorException
write in interface LinuxNativeUtilInvalidFileDescriptorExceptionIllegalArgumentExceptionIOExceptionUnknownNativeErrorExceptionpublic int recvfrom(int fd,
byte[] buffer,
int off,
int len,
int flags,
Sockaddr sockaddr)
recvfrom in interface LinuxNativeUtilpublic int recvmsg(int fd,
Msghdr msghdr,
int flags)
recvmsg in interface LinuxNativeUtilpublic int sendmsg(int fd,
Msghdr msghdr,
int flags)
throws InvalidFileDescriptorException,
IllegalArgumentException,
IOException,
ConnectException,
UnknownNativeErrorException
sendmsg in interface LinuxNativeUtilInvalidFileDescriptorExceptionIllegalArgumentExceptionIOExceptionConnectExceptionUnknownNativeErrorExceptionpublic int getpagesize()
getpagesize in interface LinuxNativeUtilpublic Collection<Cmsghdr> parseCMSG_HDR(byte[] msg_control, int msg_controllen)
parseCMSG_HDR in interface LinuxNativeUtilprotected static void _munmap(long ptr,
long length)
throws IllegalArgumentException,
UnknownNativeErrorException
protected static long _mmap(int fd,
long length,
int flags,
boolean read,
boolean write,
long offset)
throws IllegalArgumentException,
QuotaExceededException,
InvalidFileDescriptorException,
AccessDeniedException,
IllegalStateException,
UnsupportedOperationException
protected static void _msync(long ptr,
long off,
long len,
boolean invalidate)
throws AccessDeniedException,
IllegalStateException,
IllegalArgumentException
public long mmap(int fd,
long length,
int flags,
boolean read,
boolean write,
long offset)
throws IllegalArgumentException,
QuotaExceededException,
InvalidFileDescriptorException,
AccessDeniedException,
IllegalStateException,
UnsupportedOperationException
mmap in interface LinuxNativeUtilIllegalArgumentExceptionQuotaExceededExceptionInvalidFileDescriptorExceptionAccessDeniedExceptionIllegalStateExceptionUnsupportedOperationExceptionpublic void msync(long ptr,
long off,
long len,
boolean invalidate)
throws AccessDeniedException,
IllegalStateException,
IllegalArgumentException
msync in interface LinuxNativeUtilAccessDeniedExceptionIllegalStateExceptionIllegalArgumentExceptionpublic void munmap(long ptr,
long size)
throws UnknownNativeErrorException
munmap in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void connect(int fd,
Sockaddr sockaddr)
connect in interface LinuxNativeUtilpublic void bind(int fd,
Sockaddr sockaddr)
throws InvalidFileDescriptorException,
IllegalArgumentException,
SocketException,
AccessDeniedException,
FileSystemLoopException,
NotDirectoryException,
ReadOnlyFileSystemException,
IOException,
UnknownNativeErrorException
public void getsockname(int fd,
Sockaddr sockaddr)
throws InvalidFileDescriptorException,
IllegalArgumentException,
UnknownNativeErrorException
getsockname in interface LinuxNativeUtilInvalidFileDescriptorExceptionIllegalArgumentExceptionUnknownNativeErrorExceptionpublic int getsockopt(int fd,
int level,
int optname)
getsockopt in interface LinuxNativeUtilpublic byte[] getsockopt(int fd,
int level,
int optname,
int payloadSize)
getsockopt in interface LinuxNativeUtilpublic void setsockopt(int fd,
int level,
int optname,
int payload)
setsockopt in interface LinuxNativeUtilpublic void setsockopt(int fd,
int level,
int optname,
byte[] payload)
setsockopt in interface LinuxNativeUtilpublic void close(int fd)
close in interface LinuxNativeUtilpublic void chdir(String path) throws FileNotFoundException, NotDirectoryException, InvalidPathException, AccessDeniedException, FileSystemLoopException, IOException, UnknownNativeErrorException
chdir in interface LinuxNativeUtilFileNotFoundExceptionNotDirectoryExceptionInvalidPathExceptionAccessDeniedExceptionFileSystemLoopExceptionIOExceptionUnknownNativeErrorExceptionpublic void symlink(String targetPath, String sourcePath) throws IOException, UnknownNativeErrorException
symlink in interface LinuxNativeUtilIOExceptionUnknownNativeErrorExceptionpublic void link(String target, String linkpath) throws IOException, InvalidPathException, ReadOnlyFileSystemException, AccessDeniedException, FileAlreadyExistsException, UnknownNativeErrorException
link in interface LinuxNativeUtilIOExceptionInvalidPathExceptionReadOnlyFileSystemExceptionAccessDeniedExceptionFileAlreadyExistsExceptionUnknownNativeErrorExceptionpublic Stat stat(String path)
stat in interface LinuxNativeUtilpublic Statvfs statvfs(String path) throws AccessDeniedException, IOException, FileSystemLoopException, FileNotFoundException, UnknownNativeErrorException
statvfs in interface LinuxNativeUtilAccessDeniedExceptionIOExceptionFileSystemLoopExceptionFileNotFoundExceptionUnknownNativeErrorExceptionpublic Stat fstat(int descriptor) throws InvalidFileDescriptorException
fstat in interface LinuxNativeUtilInvalidFileDescriptorExceptionpublic String strerror_r(int errno)
strerror_r in interface LinuxNativeUtilpublic void setenv(String key, String value, boolean overwrite) throws UnknownNativeErrorException
setenv in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic String getenv(String key) throws UnknownNativeErrorException
getenv in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void unsetenv(String key) throws UnknownNativeErrorException
unsetenv in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic String[] wordexp(String expression, boolean allowCommands, boolean useStdErr, boolean allowUndef)
wordexp in interface LinuxNativeUtilpublic Utsname uname()
uname in interface LinuxNativeUtilpublic long geteuid()
geteuid in interface LinuxNativeUtilpublic String getlogin_r()
getlogin_r in interface LinuxNativeUtilpublic long[] getgrouplist(String user, long group)
getgrouplist in interface LinuxNativeUtilpublic Group getgrgid_r(long group)
getgrgid_r in interface LinuxNativeUtilpublic Passwd getpwnam_r(String user)
getpwnam_r in interface LinuxNativeUtilpublic Passwd getpwuid_r(long id)
getpwuid_r in interface LinuxNativeUtilpublic long getuid()
getuid in interface LinuxNativeUtilpublic String readlink(String path) throws NotLinkException
readlink in interface LinuxNativeUtilNotLinkExceptionpublic String realpath(String path) throws AccessDeniedException, IOException, FileSystemLoopException, InvalidPathException, FileNotFoundException, NotDirectoryException
realpath in interface LinuxNativeUtilAccessDeniedExceptionIOExceptionFileSystemLoopExceptionInvalidPathExceptionFileNotFoundExceptionNotDirectoryExceptionpublic void chmod(String path, int mode) throws AccessDeniedException, IOException, FileSystemLoopException, InvalidPathException, FileNotFoundException, NotDirectoryException
chmod in interface LinuxNativeUtilAccessDeniedExceptionIOExceptionFileSystemLoopExceptionInvalidPathExceptionFileNotFoundExceptionNotDirectoryExceptionpublic void fchmod(int fd,
int mode)
fchmod in interface LinuxNativeUtilpublic void chown(String path, int uid, int gid)
chown in interface LinuxNativeUtilpublic void fchown(int fd,
int uid,
int gid)
fchown in interface LinuxNativeUtilpublic void lchown(String path, int uid, int gid)
lchown in interface LinuxNativeUtilpublic int ioctl(int fd,
int code)
ioctl in interface LinuxNativeUtilpublic int ioctl(int fd,
int code,
byte[] buf,
int off)
ioctl in interface LinuxNativeUtilpublic int ioctl(int fd,
int code,
long ptr)
ioctl in interface LinuxNativeUtilpublic int ioctl(int fd,
int code,
NativeMemory mem,
long off)
ioctl in interface LinuxNativeUtilpublic int fcntl(int fd,
int code)
throws InvalidFileDescriptorException,
UnknownNativeErrorException
fcntl in interface LinuxNativeUtilInvalidFileDescriptorExceptionUnknownNativeErrorExceptionpublic int fcntl(int fd,
int code,
int param)
throws InvalidFileDescriptorException,
UnknownNativeErrorException
fcntl in interface LinuxNativeUtilInvalidFileDescriptorExceptionUnknownNativeErrorExceptionpublic int fcntl(int fd,
int code,
long param)
throws InvalidFileDescriptorException,
UnknownNativeErrorException
fcntl in interface LinuxNativeUtilInvalidFileDescriptorExceptionUnknownNativeErrorExceptionpublic int fcntl(int fd,
int code,
byte[] param,
int off)
throws InvalidFileDescriptorException,
UnknownNativeErrorException
fcntl in interface LinuxNativeUtilInvalidFileDescriptorExceptionUnknownNativeErrorExceptionpublic int fcntl(int fd,
int code,
NativeMemory mem,
long off)
throws InvalidFileDescriptorException,
UnknownNativeErrorException
fcntl in interface LinuxNativeUtilInvalidFileDescriptorExceptionUnknownNativeErrorExceptionpublic long sem_open(String name, int oflags) throws AccessDeniedException, QuotaExceededException, FileNotFoundException, FileAlreadyExistsException, UnknownNativeErrorException
sem_open in interface LinuxNativeUtilAccessDeniedExceptionQuotaExceededExceptionFileNotFoundExceptionFileAlreadyExistsExceptionUnknownNativeErrorExceptionpublic long sem_open(String name, int oflags, int mode, int value) throws AccessDeniedException, QuotaExceededException, FileNotFoundException, FileAlreadyExistsException, UnknownNativeErrorException
sem_open in interface LinuxNativeUtilAccessDeniedExceptionQuotaExceededExceptionFileNotFoundExceptionFileAlreadyExistsExceptionUnknownNativeErrorExceptionpublic void sem_close(long sem)
throws UnknownNativeErrorException
sem_close in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void sem_unlink(String name) throws AccessDeniedException, FileNotFoundException, UnknownNativeErrorException
sem_unlink in interface LinuxNativeUtilAccessDeniedExceptionFileNotFoundExceptionUnknownNativeErrorExceptionpublic int sem_t_size()
sem_t_size in interface LinuxNativeUtilpublic void sem_init(long sem,
boolean interprocess,
int value)
throws UnknownNativeErrorException
sem_init in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void sem_destroy(long sem)
throws UnknownNativeErrorException
sem_destroy in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void sem_post(long sem)
throws UnknownNativeErrorException
sem_post in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void sem_wait(long sem)
throws UnknownNativeErrorException
sem_wait in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic int sem_getvalue(long sem)
throws UnknownNativeErrorException
sem_getvalue in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic boolean sem_trywait(long sem)
throws UnknownNativeErrorException
sem_trywait in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic boolean sem_timedwait(long sem,
long timeoutInMillis)
throws UnknownNativeErrorException
sem_timedwait in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic int shm_open(String name, int oflag, int mode)
shm_open in interface LinuxNativeUtilpublic void shm_unlink(String name)
shm_unlink in interface LinuxNativeUtilpublic void ftruncate(int fd,
long len)
ftruncate in interface LinuxNativeUtilpublic void truncate(String name, long len)
truncate in interface LinuxNativeUtilpublic void mkfifo(String name, int mode) throws AccessDeniedException, QuotaExceededException, FileAlreadyExistsException, FileNotFoundException, NotDirectoryException, ReadOnlyFileSystemException
mkfifo in interface LinuxNativeUtilAccessDeniedExceptionQuotaExceededExceptionFileAlreadyExistsExceptionFileNotFoundExceptionNotDirectoryExceptionReadOnlyFileSystemExceptionpublic long sizeof_pthread_mutex_t()
sizeof_pthread_mutex_t in interface LinuxNativeUtilpublic long sizeof_pthread_mutexattr_t()
sizeof_pthread_mutexattr_t in interface LinuxNativeUtilpublic long sizeof_pthread_cond_t()
sizeof_pthread_cond_t in interface LinuxNativeUtilpublic long sizeof_pthread_condattr_t()
sizeof_pthread_condattr_t in interface LinuxNativeUtilpublic void pthread_condattr_destroy(long attributes)
throws UnknownNativeErrorException
pthread_condattr_destroy in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_condattr_init(long attributes)
throws UnknownNativeErrorException
pthread_condattr_init in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_mutexattr_destroy(long attributes)
throws UnknownNativeErrorException
pthread_mutexattr_destroy in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_mutexattr_init(long attributes)
throws UnknownNativeErrorException
pthread_mutexattr_init in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic int pthread_condattr_getpshared(long attributes)
throws UnknownNativeErrorException
pthread_condattr_getpshared in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_condattr_setpshared(long attributes,
int value)
throws UnknownNativeErrorException
pthread_condattr_setpshared in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_mutexattr_setpshared(long attributes,
int value)
throws UnknownNativeErrorException
pthread_mutexattr_setpshared in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic int pthread_mutexattr_getpshared(long attributes)
throws UnknownNativeErrorException
pthread_mutexattr_getpshared in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_mutexattr_setrobust(long attributes,
int value)
throws UnknownNativeErrorException
pthread_mutexattr_setrobust in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_mutex_consistent(long mutex)
throws UnknownNativeErrorException
pthread_mutex_consistent in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic int pthread_mutexattr_getrobust(long attributes)
throws UnknownNativeErrorException
pthread_mutexattr_getrobust in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_mutexattr_settype(long attributes,
int value)
throws UnknownNativeErrorException
pthread_mutexattr_settype in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic int pthread_mutexattr_gettype(long attributes)
throws UnknownNativeErrorException
pthread_mutexattr_gettype in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_mutex_init(long mutex,
long attributes)
throws UnknownNativeErrorException
pthread_mutex_init in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_mutex_destroy(long mutex)
throws UnknownNativeErrorException
pthread_mutex_destroy in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_mutex_lock(long mutex)
throws UnknownNativeErrorException,
InconsistentMutexException,
UnrecoverableMutexException
pthread_mutex_lock in interface LinuxNativeUtilUnknownNativeErrorExceptionInconsistentMutexExceptionUnrecoverableMutexExceptionpublic boolean pthread_mutex_trylock(long mutex)
throws UnknownNativeErrorException,
InconsistentMutexException,
UnrecoverableMutexException
pthread_mutex_trylock in interface LinuxNativeUtilUnknownNativeErrorExceptionInconsistentMutexExceptionUnrecoverableMutexExceptionpublic void pthread_mutex_unlock(long mutex)
throws UnknownNativeErrorException
pthread_mutex_unlock in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic boolean pthread_mutex_timedlock(long mutex,
long timeout)
throws UnknownNativeErrorException
pthread_mutex_timedlock in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_cond_broadcast(long condition)
throws UnknownNativeErrorException
pthread_cond_broadcast in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_cond_signal(long condition)
throws UnknownNativeErrorException
pthread_cond_signal in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_cond_wait(long condition,
long mutex)
throws UnknownNativeErrorException,
InconsistentMutexException,
UnrecoverableMutexException
pthread_cond_wait in interface LinuxNativeUtilUnknownNativeErrorExceptionInconsistentMutexExceptionUnrecoverableMutexExceptionpublic boolean pthread_cond_timedwait(long condition,
long mutex,
long timeout)
throws UnknownNativeErrorException,
InconsistentMutexException,
UnrecoverableMutexException
pthread_cond_timedwait in interface LinuxNativeUtilUnknownNativeErrorExceptionInconsistentMutexExceptionUnrecoverableMutexExceptionpublic void pthread_cond_destroy(long condition)
throws UnknownNativeErrorException
pthread_cond_destroy in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic void pthread_cond_init(long condition,
long attributes)
throws UnknownNativeErrorException
pthread_cond_init in interface LinuxNativeUtilUnknownNativeErrorExceptionpublic Stat lstat(String path) throws InvalidFileDescriptorException
lstat in interface LinuxNativeUtilInvalidFileDescriptorExceptionCopyright © 2023. All rights reserved.