| Modifier and Type | Class and Description |
|---|---|
| public static class | CLibrary.Termios
termios structure for termios functions, describing a general terminal interface that is provided to control asynchronous communications ports |
| public static class | CLibrary.WinSize
Window sizes. |
| Modifier and Type | Field and Description |
|---|---|
| public static boolean | |
| public static boolean | |
| private static final Library | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static long | |
| public static long | |
| public static long | TIOCGWINSZ
ioctl command: Get window size. |
| public static long | |
| public static long | |
| public static long | TIOCSWINSZ
ioctl command: Set window size. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static native void | |
| public static native int | |
| public static native int | |
| public static native int | Returns: isatty() returns 1 if fd is an open file descriptor referring to a terminal; otherwise 0 is returned, and errno is set to indicate the errorfile descriptor fd)test whether a file descriptor refers to a terminal |
| public static native int | Returns: 0 on successmaster return value amaster, int[] slave return value aslave, byte[] filename return value name, CLibrary.The openpty() function finds an available pseudoterminal and returns file descriptors for the master and slave in amaster and aslave. |
| public static native int | |
| public static native int | |
| public static native String |
| HAVE_ISATTY | back to summary |
|---|---|
| public static boolean HAVE_ISATTY
| |
| HAVE_TTYNAME | back to summary |
|---|---|
| public static boolean HAVE_TTYNAME
| |
| LIBRARY | back to summary |
|---|---|
| private static final Library LIBRARY | |
| STDERR_FILENO | back to summary |
|---|---|
| public static int STDERR_FILENO
| |
| STDIN_FILENO | back to summary |
|---|---|
| public static int STDIN_FILENO
| |
| STDOUT_FILENO | back to summary |
|---|---|
| public static int STDOUT_FILENO
| |
| TCSADRAIN | back to summary |
|---|---|
| public static int TCSADRAIN
| |
| TCSAFLUSH | back to summary |
|---|---|
| public static int TCSAFLUSH
| |
| TCSANOW | back to summary |
|---|---|
| public static int TCSANOW
| |
| TIOCGETA | back to summary |
|---|---|
| public static long TIOCGETA
| |
| TIOCGETD | back to summary |
|---|---|
| public static long TIOCGETD
| |
| TIOCGWINSZ | back to summary |
|---|---|
| public static long TIOCGWINSZ ioctl command: Get window size. | |
| TIOCSETA | back to summary |
|---|---|
| public static long TIOCSETA
| |
| TIOCSETD | back to summary |
|---|---|
| public static long TIOCSETD
| |
| TIOCSWINSZ | back to summary |
|---|---|
| public static long TIOCSWINSZ ioctl command: Set window size. | |
| CLibrary | back to summary |
|---|---|
| public CLibrary() | |
| init | back to summary |
|---|---|
private static native void init()
| |
| ioctl | back to summary |
|---|---|
| public static native int ioctl(int filedes, long request, int[] params) Control a STREAMS device.
| |
| ioctl | back to summary |
|---|---|
public static native int ioctl(int filedes, long request, CLibrary.
| |
| isatty | back to summary |
|---|---|
| public static native int isatty(int fd) test whether a file descriptor refers to a terminal
| |
| openpty | back to summary |
|---|---|
| public static native int openpty(int[] amaster, int[] aslave, byte[] name, CLibrary. The openpty() function finds an available pseudoterminal and returns file descriptors for the master and slave in amaster and aslave.
| |
| tcgetattr | back to summary |
|---|---|
public static native int tcgetattr(int filedes, CLibrary.
| |
| tcsetattr | back to summary |
|---|---|
public static native int tcsetattr(int filedes, int optional_actions, CLibrary.
| |
| ttyname | back to summary |
|---|---|
public static native String ttyname(int filedes)
| |
| Modifier and Type | Field and Description |
|---|---|
| public byte[] | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public long | |
| public static int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static native void |
| c_cc | back to summary |
|---|---|
public byte[] c_cc
| |
| c_cflag | back to summary |
|---|---|
public long c_cflag
| |
| c_iflag | back to summary |
|---|---|
public long c_iflag
| |
| c_ispeed | back to summary |
|---|---|
public long c_ispeed
| |
| c_lflag | back to summary |
|---|---|
public long c_lflag
| |
| c_oflag | back to summary |
|---|---|
public long c_oflag
| |
| c_ospeed | back to summary |
|---|---|
public long c_ospeed
| |
| SIZEOF | back to summary |
|---|---|
| public static int SIZEOF
| |
| Termios | back to summary |
|---|---|
| public Termios() | |
| init | back to summary |
|---|---|
private static native void init()
| |
| Modifier and Type | Field and Description |
|---|---|
| public static int | |
| public short | |
| public short | |
| public short | |
| public short |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static native void |
| SIZEOF | back to summary |
|---|---|
| public static int SIZEOF
| |
| ws_col | back to summary |
|---|---|
public short ws_col
| |
| ws_row | back to summary |
|---|---|
public short ws_row
| |
| ws_xpixel | back to summary |
|---|---|
public short ws_xpixel
| |
| ws_ypixel | back to summary |
|---|---|
public short ws_ypixel
| |
| WinSize | back to summary |
|---|---|
| public WinSize() | |
| WinSize | back to summary |
|---|---|
| public WinSize(short ws_row, short ws_col) | |
| init | back to summary |
|---|---|
private static native void init()
| |