public class FreeBsdNativePty extends JnaNativePty
| Modifier and Type | Class and Description |
|---|---|
static interface |
FreeBsdNativePty.UtilLibrary |
| Constructor and Description |
|---|
FreeBsdNativePty(int master,
FileDescriptor masterFD,
int slave,
FileDescriptor slaveFD,
int slaveOut,
FileDescriptor slaveOutFD,
String name) |
FreeBsdNativePty(int master,
FileDescriptor masterFD,
int slave,
FileDescriptor slaveFD,
String name) |
| Modifier and Type | Method and Description |
|---|---|
static FreeBsdNativePty |
current(TerminalProvider.Stream consoleStream) |
protected void |
doSetAttr(Attributes attr) |
Attributes |
getAttr() |
Size |
getSize() |
static int |
isatty(int fd) |
static FreeBsdNativePty |
open(Attributes attr,
Size size) |
void |
setSize(Size size) |
static String |
ttyname(int slave) |
close, doGetSlaveInput, getMaster, getMasterFD, getMasterInput, getMasterOutput, getName, getSlave, getSlaveFD, getSlaveOut, getSlaveOutFD, getSlaveOutput, isPosixSystemStream, posixSystemStreamName, toStringcheckInterrupted, getSlaveInput, newDescriptor, setAttrclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetSlaveInput, setAttrpublic FreeBsdNativePty(int master,
FileDescriptor masterFD,
int slave,
FileDescriptor slaveFD,
String name)
public FreeBsdNativePty(int master,
FileDescriptor masterFD,
int slave,
FileDescriptor slaveFD,
int slaveOut,
FileDescriptor slaveOutFD,
String name)
public static FreeBsdNativePty current(TerminalProvider.Stream consoleStream) throws IOException
IOExceptionpublic static FreeBsdNativePty open(Attributes attr, Size size) throws IOException
IOExceptionpublic Attributes getAttr() throws IOException
IOExceptionprotected void doSetAttr(Attributes attr) throws IOException
doSetAttr in class AbstractPtyIOExceptionpublic Size getSize() throws IOException
IOExceptionpublic void setSize(Size size) throws IOException
IOExceptionpublic static int isatty(int fd)
public static String ttyname(int slave)
Copyright © 2023. All rights reserved.