Package org.lwjgl.system.linux
Class UNISTD
java.lang.Object
org.lwjgl.system.linux.UNISTD
Native bindings to <unistd.h>.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intEnum values:static final intEnum values:static final intEnum values: -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic intgetpid()static intgetppid()static intgettid()static intnclose(long _errno, int fd) Unsafe version of:close(java.nio.IntBuffer, int)static longnread(long _errno, int fd, long buf, long count) Unsafe version of:read(java.nio.IntBuffer, int, java.nio.ByteBuffer)static longnsysconf(long _errno, int name) Unsafe version of:sysconf(java.nio.IntBuffer, int)static longread(@Nullable IntBuffer _errno, int fd, ByteBuffer buf) static long
-
Field Details
-
_SC_OPEN_MAX
public static final int _SC_OPEN_MAXEnum values:
- See Also:
-
_SC_PAGE_SIZE
public static final int _SC_PAGE_SIZEEnum values:
- See Also:
-
_SC_IOV_MAX
public static final int _SC_IOV_MAXEnum values:
- See Also:
-
-
Method Details
-
nclose
public static int nclose(long _errno, int fd) Unsafe version of:close(java.nio.IntBuffer, int) -
close
- Parameters:
_errno- optionally returns theerrnovalue after this function is called
-
nsysconf
public static long nsysconf(long _errno, int name) Unsafe version of:sysconf(java.nio.IntBuffer, int) -
sysconf
- Parameters:
_errno- optionally returns theerrnovalue after this function is called
-
nread
public static long nread(long _errno, int fd, long buf, long count) Unsafe version of:read(java.nio.IntBuffer, int, java.nio.ByteBuffer) -
read
- Parameters:
_errno- optionally returns theerrnovalue after this function is called
-
getpid
public static int getpid() -
getppid
public static int getppid() -
gettid
public static int gettid()
-