Package ghidra.pty.unix
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 ClassesModifier and TypeInterfaceDescriptionstatic classstatic interfacestatic classstatic classNested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PosixCThe bare library without error handlingstatic final PosixCFields 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_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER -
Method Summary
Modifier and TypeMethodDescriptionintclose(int fd) intdup2(int oldfd, int newfd) intintioctl(int fd, long cmd, com.sun.jna.Pointer... args) intintread(int fd, com.sun.jna.Pointer buf, int len) intsetsid()strerror(int errnum) inttcgetattr(int fd, PosixC.Termios.ByReference termios_p) inttcsetattr(int fd, int optional_actions, PosixC.Termios.ByReference termios_p) intwrite(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, long cmd, com.sun.jna.Pointer... args) -
tcgetattr
-
tcsetattr
-