-
- 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 intCIGNOREstatic intCLOCALstatic intCREADstatic intCS5static intCS6static intCS7static intCS8static intCSIZEstatic intCSTOPBstatic intECHOstatic intECHOCTLstatic intECHOEstatic intECHOKstatic intECHOKEstatic intECHONLstatic intECHOPRTstatic intEXTPROCstatic intFLUSHOstatic intHUPCLstatic intICANONstatic intICRNLstatic intIEXTENstatic intIGNBRKstatic intIGNCRstatic intIGNPARstatic intIMAXBELstatic intINLCRstatic intINPCKstatic intISIGstatic intISTRIPstatic intIXANYstatic intIXOFFstatic intIXONstatic intNOFLSHstatic intOCRNLstatic intONLCRstatic intONLRETstatic intONOEOTstatic intOPOSTstatic intPARENBstatic intPARMRKstatic intPARODDstatic intPENDINstatic intTAB0static intTAB3static intTABDLYstatic intTCSADRAINstatic intTCSAFLUSHstatic intTCSANOWstatic intTIOCGWINSZstatic intTIOCSWINSZstatic intTOSTOPstatic intVDISCARDstatic intVDSUSPstatic intVEOFstatic intVEOLstatic intVEOL2static intVERASEstatic intVERASE2static intVINTRstatic intVKILLstatic intVLNEXTstatic intVMINstatic intVQUITstatic intVREPRINTstatic intVSTARTstatic intVSTATUSstatic intVSTOPstatic intVSUSPstatic intVTIMEstatic intVWERASE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidioctl(int fd, long cmd, CLibrary.winsize data)intisatty(int fd)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 int TIOCGWINSZ
- See Also:
- Constant Field Values
-
TIOCSWINSZ
static final int TIOCSWINSZ
- 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
-
VERASE2
static final int VERASE2
- 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
-
OPOST
static final int OPOST
- See Also:
- Constant Field Values
-
ONLCR
static final int ONLCR
- 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
-
TAB3
static final int TAB3
- 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
-
ONLRET
static final int ONLRET
- See Also:
- Constant Field Values
-
CIGNORE
static final int CIGNORE
- 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
-
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
-
PENDIN
static final int PENDIN
- See Also:
- Constant Field Values
-
NOFLSH
static final int NOFLSH
- 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
-
-