Interface VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket.Factory.MacLibrary

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.sun.jna.Library

        com.sun.jna.Library.Handler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CS_DARWIN_USER_TEMP_DIR
      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_TYPE_MAPPER
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long confstr​(int name, com.sun.jna.Pointer buffer, long length)
      Reads a configuration dependant variable into a memory segment.
    • Field Detail

      • CS_DARWIN_USER_TEMP_DIR

        static final int CS_DARWIN_USER_TEMP_DIR
        The temporary directory.
        See Also:
        Constant Field Values
    • Method Detail

      • 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.