public class LinuxIO extends Object
The API is kept close to what LibC offers so that users can easily write higher level constructs.
| Modifier and Type | Field and Description |
|---|---|
static int |
O_APPEND |
static int |
O_ASYNC |
static int |
O_CLOEXEC |
static int |
O_CREAT |
static int |
O_DIRECT |
static int |
O_DIRECTORY |
static int |
O_DSYNC |
static int |
O_EXCL |
static int |
O_LARGEFILE |
static int |
O_NOATIME |
static int |
O_NOCTTY |
static int |
O_NOFOLLOW |
static int |
O_NONBLOCK |
static int |
O_PATH |
static int |
O_RDONLY |
static int |
O_RDWR |
static int |
O_SYNC |
static int |
O_TMPFILE |
static int |
O_TRUNC |
static int |
O_WRONLY |
static int |
S_IRGRP |
static int |
S_IROTH |
static int |
S_IRUSR |
static int |
S_IRWXG |
static int |
S_IRWXO |
static int |
S_IRWXU |
static int |
S_IWGRP |
static int |
S_IWOTH |
static int |
S_IWUSR |
static int |
S_IXGRP |
static int |
S_IXOTH |
static int |
S_IXUSR |
static int |
SEEK_CUR |
static int |
SEEK_END |
static int |
SEEK_SET |
| Modifier and Type | Method and Description |
|---|---|
static int |
close(int fd) |
static int |
ioctl(int fd,
NativeLong request,
int arg) |
static int |
ioctl(int fd,
NativeLong request,
long arg) |
static int |
ioctl(int fd,
NativeLong request,
NativeLong arg) |
static int |
ioctl(int fd,
NativeLong request,
Pointer arg) |
static long |
lseek64(int fd,
long offset,
int whence) |
static int |
open64(String path,
int flags) |
static int |
open64(String path,
int flags,
int mode) |
static int |
openat64(int dirFD,
String path,
int flags) |
static int |
openat64(int dirFD,
String path,
int flags,
int mode) |
static SSizeT |
read(int fd,
byte[] buffer,
SizeT size) |
static SSizeT |
read(int fd,
Pointer buffer,
SizeT size) |
static SSizeT |
write(int fd,
byte[] buffer,
SizeT size) |
static SSizeT |
write(int fd,
Pointer buffer,
SizeT size) |
public static final int O_APPEND
public static final int O_ASYNC
public static final int O_CLOEXEC
public static final int O_CREAT
public static final int O_DIRECT
public static final int O_DIRECTORY
public static final int O_DSYNC
public static final int O_EXCL
public static final int O_LARGEFILE
public static final int O_NOATIME
public static final int O_NONBLOCK
public static final int O_NOCTTY
public static final int O_NOFOLLOW
public static final int O_PATH
public static final int O_RDONLY
public static final int O_RDWR
public static final int O_SYNC
public static final int O_TMPFILE
public static final int O_TRUNC
public static final int O_WRONLY
public static final int S_IRWXU
public static final int S_IRUSR
public static final int S_IWUSR
public static final int S_IXUSR
public static final int S_IRWXG
public static final int S_IRGRP
public static final int S_IWGRP
public static final int S_IXGRP
public static final int S_IRWXO
public static final int S_IROTH
public static final int S_IWOTH
public static final int S_IXOTH
public static final int SEEK_SET
public static final int SEEK_CUR
public static final int SEEK_END
public static int close(int fd)
public static int ioctl(int fd,
NativeLong request,
int arg)
public static int ioctl(int fd,
NativeLong request,
long arg)
public static int ioctl(int fd,
NativeLong request,
NativeLong arg)
public static int ioctl(int fd,
NativeLong request,
Pointer arg)
public static long lseek64(int fd,
long offset,
int whence)
public static int open64(String path, int flags)
public static int open64(String path, int flags, int mode)
public static int openat64(int dirFD,
String path,
int flags)
public static int openat64(int dirFD,
String path,
int flags,
int mode)