public static interface LinuxTermios.C_lib
extends com.sun.jna.Library
| Modifier and Type | Method and Description |
|---|---|
int |
cfgetispeed(LinuxTermios.termios termios)
Cfgetispeed int.
|
int |
cfgetospeed(LinuxTermios.termios termios)
Cfgetospeed int.
|
void |
cfmakeraw(LinuxTermios.termios termios)
Cfmakeraw.
|
int |
cfsetispeed(LinuxTermios.termios termios,
int i)
Cfsetispeed int.
|
int |
cfsetospeed(LinuxTermios.termios termios,
int i)
Cfsetospeed int.
|
int |
close(int fd)
Close int.
|
int |
fcntl(int fd,
int cmd,
int arg)
Fcntl int.
|
int |
ioctl(int fd,
int cmd,
int[] arg)
Ioctl int.
|
int |
ioctl(int fd,
int cmd,
LinuxTermios.serial_struct arg)
Ioctl int.
|
int |
open(String path,
int flags)
Open int.
|
void |
perror(String msg)
Perror.
|
int |
pipe(int[] fds)
Pipe int.
|
JTermios.JTermiosInterface.NativeSize |
read(int fd,
byte[] buffer,
JTermios.JTermiosInterface.NativeSize count)
Read native size.
|
int |
tcdrain(int fd)
Tcdrain int.
|
int |
tcflush(int fd,
int qs)
Tcflush int.
|
int |
tcgetattr(int fd,
LinuxTermios.termios termios)
Tcgetattr int.
|
int |
tcsendbreak(int fd,
int duration)
Tcsendbreak int.
|
int |
tcsetattr(int fd,
int cmd,
LinuxTermios.termios termios)
Tcsetattr int.
|
JTermios.JTermiosInterface.NativeSize |
write(int fd,
byte[] buffer,
JTermios.JTermiosInterface.NativeSize count)
Write native size.
|
int pipe(int[] fds)
fds - the fdsint tcdrain(int fd)
fd - the fdvoid cfmakeraw(LinuxTermios.termios termios)
termios - the termiosint fcntl(int fd,
int cmd,
int arg)
fd - the fdcmd - the cmdarg - the argint ioctl(int fd,
int cmd,
int[] arg)
fd - the fdcmd - the cmdarg - the argint ioctl(int fd,
int cmd,
LinuxTermios.serial_struct arg)
fd - the fdcmd - the cmdarg - the argint open(String path, int flags)
path - the pathflags - the flagsint close(int fd)
fd - the fdint tcgetattr(int fd,
LinuxTermios.termios termios)
fd - the fdtermios - the termiosint tcsetattr(int fd,
int cmd,
LinuxTermios.termios termios)
fd - the fdcmd - the cmdtermios - the termiosint cfsetispeed(LinuxTermios.termios termios, int i)
termios - the termiosi - theint cfsetospeed(LinuxTermios.termios termios, int i)
termios - the termiosi - theint cfgetispeed(LinuxTermios.termios termios)
termios - the termiosint cfgetospeed(LinuxTermios.termios termios)
termios - the termiosJTermios.JTermiosInterface.NativeSize write(int fd, byte[] buffer, JTermios.JTermiosInterface.NativeSize count)
fd - the fdbuffer - the buffercount - the countJTermios.JTermiosInterface.NativeSize read(int fd, byte[] buffer, JTermios.JTermiosInterface.NativeSize count)
fd - the fdbuffer - the buffercount - the countint tcflush(int fd,
int qs)
fd - the fdqs - the qsvoid perror(String msg)
msg - the msgint tcsendbreak(int fd,
int duration)
fd - the fdduration - the durationCopyright © 2017. All rights reserved.