Package jtermios.linux
Interface JTermiosImpl.C_lib
-
- All Superinterfaces:
com.sun.jna.Library
- All Known Implementing Classes:
JTermiosImpl.C_lib_DirectMapping
- Enclosing class:
- JTermiosImpl
public static interface JTermiosImpl.C_lib extends com.sun.jna.Library
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcfgetispeed(JTermiosImpl.termios termios)intcfgetospeed(JTermiosImpl.termios termios)voidcfmakeraw(JTermiosImpl.termios termios)intcfsetispeed(JTermiosImpl.termios termios, int i)intcfsetospeed(JTermiosImpl.termios termios, int i)intclose(int fd)intfcntl(int fd, int cmd, int arg)intioctl(int fd, int cmd, int[] arg)intioctl(int fd, int cmd, JTermiosImpl.serial_struct arg)intopen(String path, int flags)voidperror(String msg)intpipe(int[] fds)JTermios.JTermiosInterface.NativeSizeread(int fd, byte[] buffer, JTermios.JTermiosInterface.NativeSize count)inttcdrain(int fd)inttcflush(int fd, int qs)inttcgetattr(int fd, JTermiosImpl.termios termios)inttcsendbreak(int fd, int duration)inttcsetattr(int fd, int cmd, JTermiosImpl.termios termios)JTermios.JTermiosInterface.NativeSizewrite(int fd, byte[] buffer, JTermios.JTermiosInterface.NativeSize count)
-
-
-
Method Detail
-
pipe
int pipe(int[] fds)
-
tcdrain
int tcdrain(int fd)
-
cfmakeraw
void cfmakeraw(JTermiosImpl.termios termios)
-
fcntl
int fcntl(int fd, int cmd, int arg)
-
ioctl
int ioctl(int fd, int cmd, int[] arg)
-
ioctl
int ioctl(int fd, int cmd, JTermiosImpl.serial_struct arg)
-
open
int open(String path, int flags)
-
close
int close(int fd)
-
tcgetattr
int tcgetattr(int fd, JTermiosImpl.termios termios)
-
tcsetattr
int tcsetattr(int fd, int cmd, JTermiosImpl.termios termios)
-
cfsetispeed
int cfsetispeed(JTermiosImpl.termios termios, int i)
-
cfsetospeed
int cfsetospeed(JTermiosImpl.termios termios, int i)
-
cfgetispeed
int cfgetispeed(JTermiosImpl.termios termios)
-
cfgetospeed
int cfgetospeed(JTermiosImpl.termios termios)
-
write
JTermios.JTermiosInterface.NativeSize write(int fd, byte[] buffer, JTermios.JTermiosInterface.NativeSize count)
-
read
JTermios.JTermiosInterface.NativeSize read(int fd, byte[] buffer, JTermios.JTermiosInterface.NativeSize count)
-
tcflush
int tcflush(int fd, int qs)
-
perror
void perror(String msg)
-
tcsendbreak
int tcsendbreak(int fd, int duration)
-
-