org.fusesource.jansi.internal
Class CLibrary
java.lang.Object
org.fusesource.jansi.internal.CLibrary
public class CLibrary
- extends java.lang.Object
Interface to access some low level POSIX functions.
- Author:
- Hiram Chirino
|
Method Summary |
static int |
ioctl(int filedes,
long request,
CLibrary.WinSize params)
|
static int |
ioctl(int filedes,
long request,
int[] params)
|
static int |
isatty(int fd)
|
static int |
openpty(int[] amaster,
int[] aslave,
byte[] name,
CLibrary.Termios termios,
CLibrary.WinSize winsize)
|
static int |
tcgetattr(int filedes,
CLibrary.Termios termios)
|
static int |
tcsetattr(int filedes,
int optional_actions,
CLibrary.Termios termios)
|
static java.lang.String |
ttyname(int filedes)
|
static int |
ttyslot()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STDIN_FILENO
public static int STDIN_FILENO
STDOUT_FILENO
public static int STDOUT_FILENO
STDERR_FILENO
public static int STDERR_FILENO
HAVE_ISATTY
public static boolean HAVE_ISATTY
TCSANOW
public static int TCSANOW
TCSADRAIN
public static int TCSADRAIN
TCSAFLUSH
public static int TCSAFLUSH
TIOCGETA
public static long TIOCGETA
TIOCSETA
public static long TIOCSETA
TIOCGETD
public static long TIOCGETD
TIOCSETD
public static long TIOCSETD
TIOCGWINSZ
public static long TIOCGWINSZ
TIOCSWINSZ
public static long TIOCSWINSZ
VEOF
public static final int VEOF
- Control characters
- See Also:
- Constant Field Values
VEOL
public static final int VEOL
- See Also:
- Constant Field Values
VEOL2
public static final int VEOL2
- See Also:
- Constant Field Values
VERASE
public static final int VERASE
- See Also:
- Constant Field Values
VWERASE
public static final int VWERASE
- See Also:
- Constant Field Values
VKILL
public static final int VKILL
- See Also:
- Constant Field Values
VREPRINT
public static final int VREPRINT
- See Also:
- Constant Field Values
VINTR
public static final int VINTR
- See Also:
- Constant Field Values
VQUIT
public static final int VQUIT
- See Also:
- Constant Field Values
VSUSP
public static final int VSUSP
- See Also:
- Constant Field Values
VDSUSP
public static final int VDSUSP
- See Also:
- Constant Field Values
VSTART
public static final int VSTART
- See Also:
- Constant Field Values
VSTOP
public static final int VSTOP
- See Also:
- Constant Field Values
VLNEXT
public static final int VLNEXT
- See Also:
- Constant Field Values
VDISCARD
public static final int VDISCARD
- See Also:
- Constant Field Values
VMIN
public static final int VMIN
- See Also:
- Constant Field Values
VTIME
public static final int VTIME
- See Also:
- Constant Field Values
VSTATUS
public static final int VSTATUS
- See Also:
- Constant Field Values
IGNBRK
public static final int IGNBRK
- Input flags - software input processing
- See Also:
- Constant Field Values
BRKINT
public static final int BRKINT
- See Also:
- Constant Field Values
IGNPAR
public static final int IGNPAR
- See Also:
- Constant Field Values
PARMRK
public static final int PARMRK
- See Also:
- Constant Field Values
INPCK
public static final int INPCK
- See Also:
- Constant Field Values
ISTRIP
public static final int ISTRIP
- See Also:
- Constant Field Values
INLCR
public static final int INLCR
- See Also:
- Constant Field Values
IGNCR
public static final int IGNCR
- See Also:
- Constant Field Values
ICRNL
public static final int ICRNL
- See Also:
- Constant Field Values
IXON
public static final int IXON
- See Also:
- Constant Field Values
IXOFF
public static final int IXOFF
- See Also:
- Constant Field Values
IXANY
public static final int IXANY
- See Also:
- Constant Field Values
OPOST
public static final int OPOST
- See Also:
- Constant Field Values
ONLCR
public static final int ONLCR
- See Also:
- Constant Field Values
CCTS_OFLOW
public static final int CCTS_OFLOW
- See Also:
- Constant Field Values
CRTS_IFLOW
public static final int CRTS_IFLOW
- See Also:
- Constant Field Values
CRTSCTS
public static final int CRTSCTS
- See Also:
- Constant Field Values
CDTR_IFLOW
public static final int CDTR_IFLOW
- See Also:
- Constant Field Values
CDSR_OFLOW
public static final int CDSR_OFLOW
- See Also:
- Constant Field Values
CCAR_OFLOW
public static final int CCAR_OFLOW
- See Also:
- Constant Field Values
ECHOE
public static final int ECHOE
- See Also:
- Constant Field Values
ECHOK
public static final int ECHOK
- See Also:
- Constant Field Values
ECHO
public static final int ECHO
- See Also:
- Constant Field Values
ECHONL
public static final int ECHONL
- See Also:
- Constant Field Values
ISIG
public static final int ISIG
- See Also:
- Constant Field Values
ICANON
public static final int ICANON
- See Also:
- Constant Field Values
IEXTEN
public static final int IEXTEN
- See Also:
- Constant Field Values
TOSTOP
public static final int TOSTOP
- See Also:
- Constant Field Values
NOFLSH
public static final int NOFLSH
- See Also:
- Constant Field Values
CLibrary
public CLibrary()
isatty
public static int isatty(int fd)
ttyname
public static java.lang.String ttyname(int filedes)
ttyslot
public static int ttyslot()
openpty
public static int openpty(int[] amaster,
int[] aslave,
byte[] name,
CLibrary.Termios termios,
CLibrary.WinSize winsize)
tcgetattr
public static int tcgetattr(int filedes,
CLibrary.Termios termios)
tcsetattr
public static int tcsetattr(int filedes,
int optional_actions,
CLibrary.Termios termios)
ioctl
public static int ioctl(int filedes,
long request,
int[] params)
ioctl
public static int ioctl(int filedes,
long request,
CLibrary.WinSize params)
Copyright © 2009-2016 FuseSource, Corp.. All Rights Reserved.