Package ghidra.pty.linux
Interface PosixC
- All Superinterfaces:
com.sun.jna.Library
public interface PosixC
extends com.sun.jna.Library
Interface for POSIX functions in libc
The functions are not documented here. Instead see the POSIX manual pages.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PosixC
The bare library without error handlingstatic final PosixC
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
-
Method Summary
Modifier and TypeMethodDescriptionint
close
(int fd) int
dup2
(int oldfd, int newfd) int
int
ioctl
(int fd, int cmd, com.sun.jna.Pointer... args) int
int
read
(int fd, com.sun.jna.Pointer buf, int len) int
setsid()
strerror
(int errnum) int
tcgetattr
(int fd, PosixC.Termios.ByReference termios_p) int
tcsetattr
(int fd, int optional_actions, PosixC.Termios.ByReference termios_p) int
write
(int fd, com.sun.jna.Pointer buf, int i)
-
Field Details
-
BARE
The bare library without error handling- See Also:
-
INSTANCE
-
-
Method Details
-
strerror
-
close
int close(int fd) -
read
int read(int fd, com.sun.jna.Pointer buf, int len) -
write
int write(int fd, com.sun.jna.Pointer buf, int i) -
setsid
int setsid() -
open
-
dup2
int dup2(int oldfd, int newfd) -
execv
-
ioctl
int ioctl(int fd, int cmd, com.sun.jna.Pointer... args) -
tcgetattr
-
tcsetattr
-