-
- 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 intALTWERASEstatic intBRKINTstatic intBSDLYstatic intCCAR_OFLOWstatic intCCTS_OFLOWstatic intCDSR_OFLOWstatic intCDTR_IFLOWstatic intCIGNOREstatic intCLOCALstatic intCRDLYstatic intCREADstatic intCRTS_IFLOWstatic intCS5static intCS6static intCS7static intCS8static intCSTOPBstatic intECHOstatic intECHOCTLstatic intECHOEstatic intECHOKstatic intECHOKEstatic intECHONLstatic intECHOPRTstatic intEXTPROCstatic intFFDLYstatic intFLUSHOstatic intHUPCLstatic intICANONstatic intICRNLstatic intIEXTENstatic intIGNBRKstatic intIGNCRstatic intIGNPARstatic intIMAXBELstatic intINLCRstatic intINPCKstatic intISIGstatic intISTRIPstatic intIUTF8static intIXANYstatic intIXOFFstatic intIXONstatic intNLDLYstatic intNOFLSHstatic intNOKERNINFOstatic intOCRNLstatic intOFDELstatic intOFILLstatic intONLCRstatic intONLRETstatic intONOCRstatic intONOEOTstatic intOPOSTstatic intOXTABSstatic intPARENBstatic intPARMRKstatic intPARODDstatic intPENDINstatic intTABDLYstatic intTCSANOWstatic longTIOCGWINSZstatic longTIOCSWINSZstatic intTOSTOPstatic intVDISCARDstatic intVDSUSPstatic intVEOFstatic intVEOLstatic intVEOL2static intVERASEstatic intVINTRstatic intVKILLstatic intVLNEXTstatic intVMINstatic intVQUITstatic intVREPRINTstatic intVSTARTstatic intVSTATUSstatic intVSTOPstatic intVSUSPstatic intVTDLYstatic intVTIMEstatic intVWERASE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidioctl(int fd, com.sun.jna.NativeLong 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
-
TIOCGWINSZ
static final long TIOCGWINSZ
- See Also:
- Constant Field Values
-
TIOCSWINSZ
static final long TIOCSWINSZ
- See Also:
- Constant Field Values
-
TCSANOW
static final int TCSANOW
- See Also:
- Constant Field Values
-
VEOF
static final int VEOF
- See Also:
- Constant Field Values
-
VEOL
static final int VEOL
- See Also:
- Constant Field Values
-
VEOL2
static final int VEOL2
- See Also:
- Constant Field Values
-
VERASE
static final int VERASE
- See Also:
- Constant Field Values
-
VWERASE
static final int VWERASE
- See Also:
- Constant Field Values
-
VKILL
static final int VKILL
- See Also:
- Constant Field Values
-
VREPRINT
static final int VREPRINT
- 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
-
VSUSP
static final int VSUSP
- See Also:
- Constant Field Values
-
VDSUSP
static final int VDSUSP
- 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
-
VLNEXT
static final int VLNEXT
- See Also:
- Constant Field Values
-
VDISCARD
static final int VDISCARD
- See Also:
- Constant Field Values
-
VMIN
static final int VMIN
- See Also:
- Constant Field Values
-
VTIME
static final int VTIME
- See Also:
- Constant Field Values
-
VSTATUS
static final int VSTATUS
- 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
-
IXON
static final int IXON
- See Also:
- Constant Field Values
-
IXOFF
static final int IXOFF
- See Also:
- Constant Field Values
-
IXANY
static final int IXANY
- 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
-
ONLCR
static final int ONLCR
- See Also:
- Constant Field Values
-
OXTABS
static final int OXTABS
- See Also:
- Constant Field Values
-
ONOEOT
static final int ONOEOT
- 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
-
NLDLY
static final int NLDLY
- See Also:
- Constant Field Values
-
TABDLY
static final int TABDLY
- See Also:
- Constant Field Values
-
CRDLY
static final int CRDLY
- See Also:
- Constant Field Values
-
FFDLY
static final int FFDLY
- See Also:
- Constant Field Values
-
BSDLY
static final int BSDLY
- See Also:
- Constant Field Values
-
VTDLY
static final int VTDLY
- See Also:
- Constant Field Values
-
OFDEL
static final int OFDEL
- See Also:
- Constant Field Values
-
CIGNORE
static final int CIGNORE
- 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
-
CCTS_OFLOW
static final int CCTS_OFLOW
- See Also:
- Constant Field Values
-
CRTS_IFLOW
static final int CRTS_IFLOW
- See Also:
- Constant Field Values
-
CDTR_IFLOW
static final int CDTR_IFLOW
- See Also:
- Constant Field Values
-
CDSR_OFLOW
static final int CDSR_OFLOW
- See Also:
- Constant Field Values
-
CCAR_OFLOW
static final int CCAR_OFLOW
- See Also:
- Constant Field Values
-
ECHOKE
static final int ECHOKE
- 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
-
ECHO
static final int ECHO
- See Also:
- Constant Field Values
-
ECHONL
static final int ECHONL
- See Also:
- Constant Field Values
-
ECHOPRT
static final int ECHOPRT
- See Also:
- Constant Field Values
-
ECHOCTL
static final int ECHOCTL
- 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
-
ALTWERASE
static final int ALTWERASE
- 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
-
TOSTOP
static final int TOSTOP
- See Also:
- Constant Field Values
-
FLUSHO
static final int FLUSHO
- See Also:
- Constant Field Values
-
NOKERNINFO
static final int NOKERNINFO
- See Also:
- Constant Field Values
-
PENDIN
static final int PENDIN
- See Also:
- Constant Field Values
-
NOFLSH
static final int NOFLSH
- 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, com.sun.jna.NativeLong 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
-
-