Package net.bytebuddy.agent
Interface VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket.Factory.MacLibrary
- All Superinterfaces:
com.sun.jna.Library
- Enclosing class:
VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket.Factory
public static interface VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket.Factory.MacLibrary
extends com.sun.jna.Library
A library for reading a Mac user's temporary directory.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The temporary directory.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_SYMBOL_PROVIDER, OPTION_TYPE_MAPPER
-
Method Summary
Modifier and TypeMethodDescriptionlong
confstr
(int name, com.sun.jna.Pointer buffer, long length) Reads a configuration dependant variable into a memory segment.
-
Field Details
-
CS_DARWIN_USER_TEMP_DIR
static final int CS_DARWIN_USER_TEMP_DIRThe temporary directory.- See Also:
-
-
Method Details
-
confstr
long confstr(int name, com.sun.jna.Pointer buffer, long length) Reads a configuration dependant variable into a memory segment.- Parameters:
name
- The name of the variable.buffer
- The buffer to read the variable into.length
- The length of the buffer.- Returns:
- The amount of bytes written to the buffer.
-