-
- All Superinterfaces:
com.sun.jna.Library
public interface CLibrary extends com.sun.jna.Library
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CLibrary.termios
static class
CLibrary.winsize
-
Field Summary
Fields Modifier and Type Field Description static int
_TIOC
static int
B0
static int
B110
static int
B1200
static int
B134
static int
B150
static int
B1800
static int
B19200
static int
B200
static int
B2400
static int
B300
static int
B38400
static int
B4800
static int
B50
static int
B600
static int
B75
static int
B9600
static int
BRKINT
static int
BS0
static int
BS1
static int
BSDLY
static int
CBAUD
static int
CLOCAL
static int
CR0
static int
CR1
static int
CR2
static int
CR3
static int
CRDLY
static int
CREAD
static int
CS5
static int
CS6
static int
CS7
static int
CS8
static int
CSIZE
static int
CSTOPB
static int
ECHO
static int
ECHOCTL
static int
ECHOE
static int
ECHOK
static int
ECHOKE
static int
ECHONL
static int
ECHOPRT
static int
EXTA
static int
EXTB
static int
EXTPROC
static int
FF0
static int
FF1
static int
FFDLY
static int
FLUSHO
static int
HUPCL
static int
ICANON
static int
ICRNL
static int
IEXTEN
static int
IGNBRK
static int
IGNCR
static int
IGNPAR
static int
IMAXBEL
static int
INLCR
static int
INPCK
static int
ISIG
static int
ISTRIP
static int
IUCLC
static int
IUTF8
static int
IXANY
static int
IXOFF
static int
IXON
static int
NL0
static int
NL1
static int
NLDLY
static int
NOFLSH
static int
OCRNL
static int
OFDEL
static int
OFILL
static int
OLCUC
static int
ONLCR
static int
ONLRET
static int
ONOCR
static int
OPOST
static int
PARENB
static int
PARMRK
static int
PARODD
static int
PENDIN
static int
TAB0
static int
TAB1
static int
TAB2
static int
TAB3
static int
TABDLY
static int
TCSADRAIN
static int
TCSAFLUSH
static int
TCSANOW
static int
TIOCGWINSZ
static int
TIOCSWINSZ
static int
TOSTOP
static int
VDISCARD
static int
VEOF
static int
VEOL
static int
VEOL2
static int
VERASE
static int
VINTR
static int
VKILL
static int
VLNEXT
static int
VMIN
static int
VQUIT
static int
VREPRINT
static int
VSTART
static int
VSTOP
static int
VSUSP
static int
VSWTC
static int
VT0
static int
VT1
static int
VTDLY
static int
VTIME
static int
VWERASE
static int
XCASE
static int
XTABS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
ioctl(int fd, long cmd, CLibrary.winsize data)
int
isatty(int fd)
void
openpty(int[] master, int[] slave, byte[] name, CLibrary.termios t, CLibrary.winsize s)
void
tcgetattr(int fd, CLibrary.termios termios)
void
tcsetattr(int fd, int cmd, CLibrary.termios termios)
void
ttyname_r(int fd, byte[] buf, int len)
-
-
-
Field Detail
-
_TIOC
static final int _TIOC
- See Also:
- Constant Field Values
-
TIOCGWINSZ
static final int TIOCGWINSZ
- See Also:
- Constant Field Values
-
TIOCSWINSZ
static final int TIOCSWINSZ
- See Also:
- Constant Field Values
-
VINTR
static final int VINTR
- See Also:
- Constant Field Values
-
VQUIT
static final int VQUIT
- See Also:
- Constant Field Values
-
VERASE
static final int VERASE
- See Also:
- Constant Field Values
-
VKILL
static final int VKILL
- See Also:
- Constant Field Values
-
VEOF
static final int VEOF
- See Also:
- Constant Field Values
-
VTIME
static final int VTIME
- See Also:
- Constant Field Values
-
VMIN
static final int VMIN
- See Also:
- Constant Field Values
-
VSWTC
static final int VSWTC
- See Also:
- Constant Field Values
-
VSTART
static final int VSTART
- See Also:
- Constant Field Values
-
VSTOP
static final int VSTOP
- See Also:
- Constant Field Values
-
VSUSP
static final int VSUSP
- See Also:
- Constant Field Values
-
VEOL
static final int VEOL
- See Also:
- Constant Field Values
-
VREPRINT
static final int VREPRINT
- See Also:
- Constant Field Values
-
VDISCARD
static final int VDISCARD
- See Also:
- Constant Field Values
-
VWERASE
static final int VWERASE
- See Also:
- Constant Field Values
-
VLNEXT
static final int VLNEXT
- See Also:
- Constant Field Values
-
VEOL2
static final int VEOL2
- See Also:
- Constant Field Values
-
IGNBRK
static final int IGNBRK
- See Also:
- Constant Field Values
-
BRKINT
static final int BRKINT
- See Also:
- Constant Field Values
-
IGNPAR
static final int IGNPAR
- See Also:
- Constant Field Values
-
PARMRK
static final int PARMRK
- See Also:
- Constant Field Values
-
INPCK
static final int INPCK
- See Also:
- Constant Field Values
-
ISTRIP
static final int ISTRIP
- See Also:
- Constant Field Values
-
INLCR
static final int INLCR
- See Also:
- Constant Field Values
-
IGNCR
static final int IGNCR
- See Also:
- Constant Field Values
-
ICRNL
static final int ICRNL
- See Also:
- Constant Field Values
-
IUCLC
static final int IUCLC
- See Also:
- Constant Field Values
-
IXON
static final int IXON
- See Also:
- Constant Field Values
-
IXANY
static final int IXANY
- See Also:
- Constant Field Values
-
IXOFF
static final int IXOFF
- See Also:
- Constant Field Values
-
IMAXBEL
static final int IMAXBEL
- See Also:
- Constant Field Values
-
IUTF8
static final int IUTF8
- See Also:
- Constant Field Values
-
OPOST
static final int OPOST
- See Also:
- Constant Field Values
-
OLCUC
static final int OLCUC
- See Also:
- Constant Field Values
-
ONLCR
static final int ONLCR
- See Also:
- Constant Field Values
-
OCRNL
static final int OCRNL
- See Also:
- Constant Field Values
-
ONOCR
static final int ONOCR
- See Also:
- Constant Field Values
-
ONLRET
static final int ONLRET
- See Also:
- Constant Field Values
-
OFILL
static final int OFILL
- See Also:
- Constant Field Values
-
OFDEL
static final int OFDEL
- See Also:
- Constant Field Values
-
NLDLY
static final int NLDLY
- See Also:
- Constant Field Values
-
NL0
static final int NL0
- See Also:
- Constant Field Values
-
NL1
static final int NL1
- See Also:
- Constant Field Values
-
CRDLY
static final int CRDLY
- See Also:
- Constant Field Values
-
CR0
static final int CR0
- See Also:
- Constant Field Values
-
CR1
static final int CR1
- See Also:
- Constant Field Values
-
CR2
static final int CR2
- See Also:
- Constant Field Values
-
CR3
static final int CR3
- See Also:
- Constant Field Values
-
TABDLY
static final int TABDLY
- See Also:
- Constant Field Values
-
TAB0
static final int TAB0
- See Also:
- Constant Field Values
-
TAB1
static final int TAB1
- See Also:
- Constant Field Values
-
TAB2
static final int TAB2
- See Also:
- Constant Field Values
-
TAB3
static final int TAB3
- See Also:
- Constant Field Values
-
XTABS
static final int XTABS
- See Also:
- Constant Field Values
-
BSDLY
static final int BSDLY
- See Also:
- Constant Field Values
-
BS0
static final int BS0
- See Also:
- Constant Field Values
-
BS1
static final int BS1
- See Also:
- Constant Field Values
-
VTDLY
static final int VTDLY
- See Also:
- Constant Field Values
-
VT0
static final int VT0
- See Also:
- Constant Field Values
-
VT1
static final int VT1
- See Also:
- Constant Field Values
-
FFDLY
static final int FFDLY
- See Also:
- Constant Field Values
-
FF0
static final int FF0
- See Also:
- Constant Field Values
-
FF1
static final int FF1
- See Also:
- Constant Field Values
-
CBAUD
static final int CBAUD
- See Also:
- Constant Field Values
-
B0
static final int B0
- See Also:
- Constant Field Values
-
B50
static final int B50
- See Also:
- Constant Field Values
-
B75
static final int B75
- See Also:
- Constant Field Values
-
B110
static final int B110
- See Also:
- Constant Field Values
-
B134
static final int B134
- See Also:
- Constant Field Values
-
B150
static final int B150
- See Also:
- Constant Field Values
-
B200
static final int B200
- See Also:
- Constant Field Values
-
B300
static final int B300
- See Also:
- Constant Field Values
-
B600
static final int B600
- See Also:
- Constant Field Values
-
B1200
static final int B1200
- See Also:
- Constant Field Values
-
B1800
static final int B1800
- See Also:
- Constant Field Values
-
B2400
static final int B2400
- See Also:
- Constant Field Values
-
B4800
static final int B4800
- See Also:
- Constant Field Values
-
B9600
static final int B9600
- See Also:
- Constant Field Values
-
B19200
static final int B19200
- See Also:
- Constant Field Values
-
B38400
static final int B38400
- See Also:
- Constant Field Values
-
EXTA
static final int EXTA
- See Also:
- Constant Field Values
-
EXTB
static final int EXTB
- See Also:
- Constant Field Values
-
CSIZE
static final int CSIZE
- See Also:
- Constant Field Values
-
CS5
static final int CS5
- See Also:
- Constant Field Values
-
CS6
static final int CS6
- See Also:
- Constant Field Values
-
CS7
static final int CS7
- See Also:
- Constant Field Values
-
CS8
static final int CS8
- See Also:
- Constant Field Values
-
CSTOPB
static final int CSTOPB
- See Also:
- Constant Field Values
-
CREAD
static final int CREAD
- See Also:
- Constant Field Values
-
PARENB
static final int PARENB
- See Also:
- Constant Field Values
-
PARODD
static final int PARODD
- See Also:
- Constant Field Values
-
HUPCL
static final int HUPCL
- See Also:
- Constant Field Values
-
CLOCAL
static final int CLOCAL
- See Also:
- Constant Field Values
-
ISIG
static final int ISIG
- See Also:
- Constant Field Values
-
ICANON
static final int ICANON
- See Also:
- Constant Field Values
-
XCASE
static final int XCASE
- See Also:
- Constant Field Values
-
ECHO
static final int ECHO
- See Also:
- Constant Field Values
-
ECHOE
static final int ECHOE
- See Also:
- Constant Field Values
-
ECHOK
static final int ECHOK
- See Also:
- Constant Field Values
-
ECHONL
static final int ECHONL
- See Also:
- Constant Field Values
-
NOFLSH
static final int NOFLSH
- See Also:
- Constant Field Values
-
TOSTOP
static final int TOSTOP
- See Also:
- Constant Field Values
-
ECHOCTL
static final int ECHOCTL
- See Also:
- Constant Field Values
-
ECHOPRT
static final int ECHOPRT
- See Also:
- Constant Field Values
-
ECHOKE
static final int ECHOKE
- See Also:
- Constant Field Values
-
FLUSHO
static final int FLUSHO
- See Also:
- Constant Field Values
-
PENDIN
static final int PENDIN
- See Also:
- Constant Field Values
-
IEXTEN
static final int IEXTEN
- See Also:
- Constant Field Values
-
EXTPROC
static final int EXTPROC
- See Also:
- Constant Field Values
-
TCSANOW
static final int TCSANOW
- See Also:
- Constant Field Values
-
TCSADRAIN
static final int TCSADRAIN
- See Also:
- Constant Field Values
-
TCSAFLUSH
static final int TCSAFLUSH
- See Also:
- Constant Field Values
-
-
Method Detail
-
tcgetattr
void tcgetattr(int fd, CLibrary.termios termios) throws com.sun.jna.LastErrorException
- Throws:
com.sun.jna.LastErrorException
-
tcsetattr
void tcsetattr(int fd, int cmd, CLibrary.termios termios) throws com.sun.jna.LastErrorException
- Throws:
com.sun.jna.LastErrorException
-
ioctl
void ioctl(int fd, long cmd, CLibrary.winsize data) throws com.sun.jna.LastErrorException
- Throws:
com.sun.jna.LastErrorException
-
isatty
int isatty(int fd)
-
ttyname_r
void ttyname_r(int fd, byte[] buf, int len) throws com.sun.jna.LastErrorException
- Throws:
com.sun.jna.LastErrorException
-
openpty
void openpty(int[] master, int[] slave, byte[] name, CLibrary.termios t, CLibrary.winsize s) throws com.sun.jna.LastErrorException
- Throws:
com.sun.jna.LastErrorException
-
-