-
- 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 classCLibrary.termiosstatic classCLibrary.winsize
-
Field Summary
Fields Modifier and Type Field Description static int_TIOCstatic intB0static intB110static intB1200static intB134static intB150static intB1800static intB19200static intB200static intB2400static intB300static intB38400static intB4800static intB50static intB600static intB75static intB9600static intBRKINTstatic intBS0static intBS1static intBSDLYstatic intCBAUDstatic intCLOCALstatic intCR0static intCR1static intCR2static intCR3static intCRDLYstatic intCREADstatic intCS5static intCS6static intCS7static intCS8static intCSIZEstatic intCSTOPBstatic intECHOstatic intECHOCTLstatic intECHOEstatic intECHOKstatic intECHOKEstatic intECHONLstatic intECHOPRTstatic intEXTAstatic intEXTBstatic intEXTPROCstatic intFF0static intFF1static intFFDLYstatic intFLUSHOstatic intHUPCLstatic intICANONstatic intICRNLstatic intIEXTENstatic intIGNBRKstatic intIGNCRstatic intIGNPARstatic intIMAXBELstatic intINLCRstatic intINPCKstatic intISIGstatic intISTRIPstatic intIUCLCstatic intIUTF8static intIXANYstatic intIXOFFstatic intIXONstatic intNL0static intNL1static intNLDLYstatic intNOFLSHstatic intOCRNLstatic intOFDELstatic intOFILLstatic intOLCUCstatic intONLCRstatic intONLRETstatic intONOCRstatic intOPOSTstatic intPARENBstatic intPARMRKstatic intPARODDstatic intPENDINstatic intTAB0static intTAB1static intTAB2static intTAB3static intTABDLYstatic intTCSADRAINstatic intTCSAFLUSHstatic intTCSANOWstatic intTIOCGWINSZstatic intTIOCSWINSZstatic intTOSTOPstatic intVDISCARDstatic intVEOFstatic intVEOLstatic intVEOL2static intVERASEstatic intVINTRstatic intVKILLstatic intVLNEXTstatic intVMINstatic intVQUITstatic intVREPRINTstatic intVSTARTstatic intVSTOPstatic intVSUSPstatic intVSWTCstatic intVT0static intVT1static intVTDLYstatic intVTIMEstatic intVWERASEstatic intXCASEstatic intXTABS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidioctl(int fd, long cmd, CLibrary.winsize data)intisatty(int fd)voidopenpty(int[] master, int[] slave, byte[] name, CLibrary.termios t, CLibrary.winsize s)voidtcgetattr(int fd, CLibrary.termios termios)voidtcsetattr(int fd, int cmd, CLibrary.termios termios)voidttyname_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
-
-